diff --git a/warmth/build.py b/warmth/build.py index 2201c45..47ad35b 100644 --- a/warmth/build.py +++ b/warmth/build.py @@ -320,7 +320,7 @@ def _dump(self, filepath: Path): def load_node(filepath: Path) -> single_node: - logger.info(f"Loading node from {filepath}") + logger.debug(f"Loading node from {filepath}") data = compressed_pickle_open(filepath) return data @@ -714,7 +714,7 @@ def extract_nodes( ] logger.info('Extracting %s sedimentary packages with %s horizons', len( futures), len(futures) + 1) - logger.info('Threads:%s', len(poolx._threads)) + logger.debug('Threads:%s', len(poolx._threads)) # When each job finishes for future in concurrent.futures.as_completed(futures): diff --git a/warmth/mesh_model.py b/warmth/mesh_model.py index 7680381..9cf6e03 100644 --- a/warmth/mesh_model.py +++ b/warmth/mesh_model.py @@ -636,11 +636,11 @@ def buildMesh(self,tti:int): """ self.tti = tti self.buildVertices(time_index=tti) - logger.info("Built vertices") + logger.debug("Built vertices") self.constructMesh() - logger.info("Built mesh") + logger.debug("Built mesh") self.updateMesh(tti) - logger.info("Updated vertices") + logger.debug(f"Updated vertices for time {tti}") def updateMesh(self,tti:int, optimized=False): @@ -750,7 +750,7 @@ def constructMesh(self): ) def mpi_print(s): - logger.info(f"Rank {comm.rank}: {s}") + logger.debug(f"Rank {comm.rank}: {s}") fn = self.modelName+"_mesh.xdmf" if comm.rank==0: diff --git a/warmth/model.py b/warmth/model.py index 07daf00..834e251 100644 --- a/warmth/model.py +++ b/warmth/model.py @@ -50,7 +50,7 @@ def _load_nodes(self): return def _load_1D_results(self): - logger.info(f"Loading model from {self.parameters.out_path}") + logger.debug(f"Loading model from {self.parameters.out_path}") self._load_nodes() return diff --git a/warmth/resqpy_helpers.py b/warmth/resqpy_helpers.py index 3537fed..5dbbe3a 100644 --- a/warmth/resqpy_helpers.py +++ b/warmth/resqpy_helpers.py @@ -478,7 +478,7 @@ def write_hexa_grid_with_timeseries(filename, nodes_series, cells, modelTitle = NOTE: writing properties that are defines per-node (have 'nodes' as indexable element) requires a patched version of resqpy! """ - logger.info("Creating RESQML model") + logger.debug("Creating RESQML model") nodes_time_0 = nodes_series[-1,:,:] # present-day at last index node_count = nodes_time_0.shape[0] faces_per_cell = [] diff --git a/warmth/utils.py b/warmth/utils.py index c42905e..f02685d 100644 --- a/warmth/utils.py +++ b/warmth/utils.py @@ -141,7 +141,7 @@ def compressed_pickle_open(path: Path): def load_pickle(filepath: Path): - logger.info(f"Loading data from {filepath}") + logger.debug(f"Loading data from {filepath}") with open(filepath, "rb") as f: data = pickle.load(f) return data