[Thread Prev][Thread Next][Index]

[ferret_users] Changing data in NetCDF file



Dear Ferreters!
I have some data in a netcdf file. I want to do some transformations to these data and then change existing in the netcdf file by freshly computed.

And also I would like to know what is this (XCOASTS_C), because this is not a variable - what is it?

 Variable    VarType(in dset)    AttributeName   AttType     Size OutFlag AttValue
------------------------------------------------------------------------------------------
 
 .                               history         CHAR        24   T       FERRET V5.41    4-Dec-07
 
(XCOASTS_C)            DOUBLE    point_spacing   CHAR        4    T       even
                                 orig_file_axnameCHAR        9    F       XCOASTS_C
 
 LON_COASTS_C          FLOAT     missing_value   FLOAT       1    T       -1.000000E+34
                                 _FillValue      FLOAT       1    T       -1.000000E+34
                                 long_name       CHAR        12   T       lon_coasts_c
                                 history         CHAR        16   T       From coast_c.dat
                                 units           CHAR        12   T       degrees_east
 
 LAT_COASTS_C          FLOAT     missing_value   FLOAT       1    T       -1.000000E+34
                                 _FillValue      FLOAT       1    T       -1.000000E+34
                                 long_name       CHAR        12   T       lat_coasts_c
                                 history         CHAR        16   T       From coast_c.dat
                                 units           CHAR        13   T       degrees_north

So I wanted to change e.g. existing  LON_COASTS_C, LAT_COASTS_C by new ones. Simultaneously with no changing (XCOASTS_C).
Variable attributes could be rewritten I suppose.
How can I deal with that?

Many greetings!
Szymon Roziewski


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

Privacy Policy | Disclaimer | Accessibility Statement