user13854503
user13854503

Reputation:

NetCDF ,time has no units

I have several netcdf files about mean indeces for 2001-2019(each file represents 1 month of the year).The 'time' variable see is of index [0] and has no units (as shown),preventing me from doing plots or statistics relating to time.Is there any way to fix this?

enter image description here

Upvotes: 1

Views: 206

Answers (1)

Robert Wilson
Robert Wilson

Reputation: 3407

If you are on Unix this is probably better solved using CDO. Setting the time for one file would be something like this.

cdo settime,2001-01-01 in.nc out.nc

Upvotes: 1

Related Questions