Added by YUU YAN over 4 years ago
Hi,
I have a nc file and I want to draw a spatial distribution figure throughout the time series. As seen in the attached figure, I think I need to calculate the number of ice free days on each grid. Could you please tell me how can I do this with CDO? Thank you in advance.
Best regards,
Yu
Hi Yuu,
in my opinion, you have to do (in bash terminal):
ntime=$(cdo -s ntime $infile) cdo -f nc -chname,ice_days_index_per_time_period,ice_free_days_index_per_time_period -addc,$ntime -mulc,-1 -eca_id $infile outfile.nc
-Karin