Make sure TIFF files reflect NC file contents
Compare changes
+ 4
− 3
@@ -199,9 +199,10 @@ for timestep in timesteps:
@@ -199,9 +199,10 @@ for timestep in timesteps:
if os.path.isfile(f'{outfile_path}result_WARNING_STATUS_{file_date}.tif') and os.path.isfile(f'{outfile_path}result_{file_date}.tif'):
subprocess.run(f'cdo -s -seltimestep,{timestep_index}/{timestep_index} {tmpfile_path}result.nc {tmpfile_path}result_{file_date}.nc', shell=True)