CDO is great if your data is on a lat-lon grid, but on curvilinear grids it has
a tendency to trash the ancillary data. I would not recommend it for something
like Izidor's use.
(At least, that was my experience the last time I used it; possibly it's better
now, but I haven't read anything in the update announcements that leads me to
expect that...)
Cheers,
--Seth
On Thu, 14 Mar 2013 16:40:14 -0300
Etienne Tourigny <etourigny.dev at gmail.com> wrote:
>You may wish to save yourself some trouble, and use a tool that
>produces cf-compliant files, such as cdo (Climate Data Operators) [1].
>
>in a nutshell this should be accomplished with a simple command:
>
>cdo -f nc copy in.nc out.nc
>
>although there is no guarantee that your particular file will be
>recognized properly by cdo...
>
>[1] https://code.zmaw.de/projects/cdo
>
>
>cheers
>Etienne
>
>On Thu, Mar 14, 2013 at 9:39 AM, Izidor Pelajic
><izidor.pelajic at gmail.com> wrote:
>> Hi all,
>> I'm new at netCDF, new at CF, and moderate MATLAB user. I'm new at
>> netCDF in a sense of days or week.
>> So my problem (beyond the fact that I do not have general knowledge)
>> is next. I was provided with a .nc file. In it there are 3 information
>> of interest: latitude matrix 160 by 22, longitude matrix 160 by 22 and
>> SST matrix also 160 by 22. File is created from NOAA satellite data
>> record (from hdf file, but not by me). I need to convert this custom
>> made nc file to netCDF CF file.
>> So far, I managed to open nc file in matlab, edit variables, make some
>> nice charts and save it as it is. But I do not know how to save in CF
>> convention. My problem is longitude and latitude that are of same
>> dimension as variable SST. How do I make sst( lon, lat ) if all lon
>> and lat elements are of different value? (it was written down in line
>> as satellite passed over an area)
>>
>> Any idea, or example?
>> Izidor
>> _______________________________________________
>> CF-metadata mailing list
>> CF-metadata at cgd.ucar.edu
>> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>_______________________________________________
>CF-metadata mailing list
>CF-metadata at cgd.ucar.edu
>http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
Received on Thu Mar 14 2013 - 13:56:26 GMT