Skip to content

Commit

Permalink
added prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ledm committed Mar 25, 2024
1 parent 1efd64a commit a0e7a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bgcval2/timeseries/timeseriesAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def loadModel(self):
layers=self.layers,
metrics= self.metrics,
modeldataD=modeldataD,
meantime=meantime,
)

for l in self.layers:
Expand Down
3 changes: 3 additions & 0 deletions bgcval2/timeseries/timeseriesTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ def run(self):
for m in self.metrics:
if self.modeldataD.get((region, l, m), False) and self.meantime in self.modeldataD[(region, l, m)]:
# Data arra already exists and This time point's data already exists
print('Dataloader: No need to load this setting', (region, l, m))
continue
print('Dataloader: We need to re-load this setting', (region, l, m), self.meantime)

# This region does not exist in the processed data, so add it.
loadthisregion +=1
if loadthisregion == 0:
Expand Down

0 comments on commit a0e7a73

Please sign in to comment.