Skip to content
Snippets Groups Projects
Commit 89cb98da authored by rink's avatar rink
Browse files

snapshot...

parent 0126073e
No related branches found
No related tags found
No related merge requests found
...@@ -441,7 +441,8 @@ def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=Non ...@@ -441,7 +441,8 @@ def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=Non
# match_file: pathname for the product file # match_file: pathname for the product file
# dt_str_0: start time (YYYY-MM-DD_HH:MM) # dt_str_0: start time (YYYY-MM-DD_HH:MM)
# dt_str_1: end time (YYYY-MM-DD_HH:MM) # dt_str_1: end time (YYYY-MM-DD_HH:MM)
# returns: amvs[ntimes, max_num_amvs_per_prof, num_of_params], profs[ntimes, max_num_levs_per_prof, num_of_params], times[ntimes] # returns:
# amvs[ntimes, max_num_amvs_per_prof, num_of_params], profs[ntimes, max_num_levs_per_prof, num_of_params], times[ntimes]
def subset_by_time(match_file, dt_str_0, dt_str_1): def subset_by_time(match_file, dt_str_0, dt_str_1):
rootgrp = Dataset(match_file, 'r', format='NETCDF4') rootgrp = Dataset(match_file, 'r', format='NETCDF4')
all_dims = rootgrp.dimensions all_dims = rootgrp.dimensions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment