Skip to content

Commit

Permalink
Start on regrid to obs grid example.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwfncar committed Aug 4, 2024
1 parent 44bd118 commit 5ece2b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/process_swath_data/process_modis_l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
an.setup_obs_grid()
# print(an.obs_grid)

"""
for time_interval in an.time_intervals:
print(time_interval)
Expand All @@ -15,4 +16,5 @@
an.update_obs_gridded_data()
an.normalize_obs_gridded_data()
"""
print(an.obs_gridded_dataset)
2 changes: 1 addition & 1 deletion melodies_monet/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def update_obs_gridded_data(self):
print('updating obs time: ', obs, obs_time)
obs_timestamp = pd.to_datetime(
obs_time, format='%Y%j%H%M').timestamp()
print(obs_timestamp)
# print(obs_timestamp)
for var in self.obs[obs].obj[obs_time]:
key = obs + '_' + var
print(key)
Expand Down

0 comments on commit 5ece2b3

Please sign in to comment.