Skip to content

Commit

Permalink
figuring out why no data
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Jul 18, 2023
1 parent aba1d78 commit b12a3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyaerocom/colocation_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def colocate_vertical_profile_gridded_helper(
f"Failed to colocate time for station {obs_stat.station_name}. "
f"This station will be skipped (error: {e})"
)
# if not all(np.isnan(arr[0, :, i])):
# breakpoint()
except TemporalResolutionError as e:
# resolution of obsdata is too low
logger.warning(
Expand Down
2 changes: 0 additions & 2 deletions pyaerocom/colocation_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,6 @@ def _run_helper(self, model_var: str, obs_var: str):
self._save_coldata(coldata)

elif isinstance(coldata, ColocatedDataLists):
breakpoint()
for i_list in coldata:
for coldata_obj in i_list:
coldata_obj.data.attrs["model_name"] = self.get_model_name()
Expand All @@ -1490,7 +1489,6 @@ def _run_helper(self, model_var: str, obs_var: str):
coldata = correct_model_stp_coldata(coldata_obj)
if self.save_coldata:
self._save_coldata(coldata_obj)
breakpoint()

else:
raise Exception(
Expand Down

0 comments on commit b12a3e3

Please sign in to comment.