Skip to content
Snippets Groups Projects
Commit 772b6822 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 0993dd65
Branches
No related tags found
No related merge requests found
......@@ -752,10 +752,16 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
dim_0_name = 'x'
dim_1_name = 'y'
geo_coords = 'y x'
time_dim_name = 'time'
geo_coords = 'time y x'
dim_0 = rootgrp.createDimension(dim_0_name, size=x.shape[0])
dim_1 = rootgrp.createDimension(dim_1_name, size=y.shape[0])
dim_time = rootgrp.createDimension(time_dim_name, size=1)
tvar = rootgrp.createVariable('time', 'f8', time_dim_name)
tvar[0] = get_timestamp(clvrx_str_time)
tvar.units = 'seconds since 1970-01-01 00:00:00'
prob_s = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment