Skip to content

Commit e39fe19

Browse files
committed
adding logger statements
1 parent 524f9b1 commit e39fe19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reV/supply_curve/tech_mapping.py

+2
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def map_resource(self, tm_dset, max_workers=None, points_per_worker=10):
367367

368368
futures = {}
369369
loggers = [__name__, "reV"]
370+
logger.info(f"Kicking off {gid_chunks} resource mapping jobs.")
370371
with SpawnProcessPool(max_workers=max_workers, loggers=loggers) as exe:
371372
# iterate through split executions, submitting each to worker
372373
for i, gid_set in enumerate(gid_chunks):
@@ -388,6 +389,7 @@ def map_resource(self, tm_dset, max_workers=None, points_per_worker=10):
388389
self.distance_threshold,
389390
)
390391
] = i
392+
logger.info("All jobs submitted.")
391393

392394
with h5py.File(self._excl_fpath, "a") as f:
393395
indices = f[tm_dset]

0 commit comments

Comments
 (0)