Skip to content
Snippets Groups Projects
Commit 84fca429 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 2ccb6c17
No related branches found
No related tags found
No related merge requests found
...@@ -1431,10 +1431,10 @@ def write_icing_file_nc4_viirs(clvrx_str_time, output_dir, preds_dct, probs_dct, ...@@ -1431,10 +1431,10 @@ def write_icing_file_nc4_viirs(clvrx_str_time, output_dir, preds_dct, probs_dct,
rootgrp.close() rootgrp.close()
def write_cld_frac_file_nc4(clvrx_str_time, output_dir, cloud_fraction, def write_cld_frac_file_nc4(clvrx_str_time, outfile_name, cloud_fraction,
x, y, elems, lines, satellite='GOES16', domain='CONUS', x, y, elems, lines, satellite='GOES16', domain='CONUS',
has_time=False): has_time=False):
outfile_name = output_dir + 'icing_prediction_'+clvrx_str_time+'.nc'
rootgrp = Dataset(outfile_name, 'w', format='NETCDF4') rootgrp = Dataset(outfile_name, 'w', format='NETCDF4')
rootgrp.setncattr('Conventions', 'CF-1.7') rootgrp.setncattr('Conventions', 'CF-1.7')
......
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