[Thread Prev][Thread Next][Index]

Re: [ferret_users] data from netcdf file automatically reversed



Hi,
I think you should correct the time axis of your file.

time_counter = 15768000, -78926400, 15768000, 15768000, -78926400,
   -15854400, -47390400, -15854400, -110462400, -78926400, -78926400,
   -47390400, -78926400, -15854400, -110462400, 15768000, 15768000,
   -47390400, -110462400, -47390400, ...

is not a correct axis (whatever the reason) because it is neither increasing or decreasing.

You could remove this wrong axis by using ncks (from nco commands)

ncks -Oh -C -x -v time_counter file1.nc file2.nc

ferret will then open your file in the right order and presents it as indices.
Then, define a new axis if needed.

Patrick

--
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement