|
Written on: 2012-06-24, 23:18
|
|
m.walkington@gmail.com
Matt Walkington
Topic creator
registered since: 20.01.2010
Posts: 1
|
Hi there:
CF-compliant NetCDF is one of the support import formats. Is, or to what extent is, CF-compliant NetCDF export also supported?
Thanks in advance for any help.
Bye now,
Matt
|
|
Written on: 2012-06-25, 08:11
|
|
rschlitzer@awi-bremerhaven.de
Reiner Schlitzer
registered since: 24.04.2008
Posts: 180
|
Hi Matt:
We support export into netCDF via "Export>NetCDF File" but I am not sure whether the result is 100% CF compliant. Please try. We appreciate comments and suggestions.
Best regards, Reiner
|
|
Written on: 2012-06-25, 08:27
|
|
hecinho@gmx.de
Stephan Heckendorff
registered since: 24.04.2008
Posts: 267
|
Hi Matt,
maybe the following netCDF header, which was exported by ODV to netCDF, helps to illustrate what part(s) aren't CF-compliant yet.
netcdf ODV-Export-Example {
dimensions:
N_STATIONS = 3 ;
N_SAMPLES = 37 ;
STRING_20 = 20 ;
N_META_VARS = 4 ;
N_VARS = 3 ;
variables:
char META_VAR_1(N_STATIONS, STRING_20) ;
META_VAR_1:long_name = "Cruise" ;
META_VAR_1:_FillValue = "" ;
char META_VAR_2(N_STATIONS, STRING_20) ;
META_VAR_2:long_name = "Station" ;
META_VAR_2:_FillValue = "" ;
char META_VAR_3(N_STATIONS) ;
META_VAR_3:long_name = "Type" ;
META_VAR_3:_FillValue = "" ;
float Longitude(N_STATIONS) ;
Longitude:long_name = "Longitude" ;
Longitude:units = "degrees East" ;
Longitude:C_format = "%.2f" ;
Longitude:FORTRAN_format = "F12.2" ;
Longitude:_FillValue = -1.e+010f ;
Longitude:valid_min = 0.f ;
Longitude:valid_max = 360.f ;
float Latitude(N_STATIONS) ;
Latitude:long_name = "Latitude" ;
Latitude:units = "degrees North" ;
Latitude:C_format = "%.2f" ;
Latitude:FORTRAN_format = "F12.2" ;
Latitude:_FillValue = -1.e+010f ;
float META_VAR_4(N_STATIONS) ;
META_VAR_4:long_name = "Bot. Depth" ;
META_VAR_4:units = "m" ;
META_VAR_4:C_format = "%.0f" ;
META_VAR_4:FORTRAN_format = "F12.0" ;
META_VAR_4:_FillValue = -1.e+010f ;
float VAR_1(N_STATIONS, N_SAMPLES) ;
VAR_1:long_name = "Depth" ;
VAR_1:units = "m" ;
VAR_1:C_format = "%.2f" ;
VAR_1:FORTRAN_format = "F12.2" ;
VAR_1:_FillValue = -1.e+010f ;
char QF_VAR_1(N_STATIONS, N_SAMPLES) ;
QF_VAR_1:qf_convention = "ODV generic quality codes" ;
QF_VAR_1:comment = "0: good quality, 1: unknown quality, 4: questionable quality, 8: bad quality" ;
QF_VAR_1:_FillValue = "1" ;
float VAR_2(N_STATIONS, N_SAMPLES) ;
VAR_2:long_name = "Temperature" ;
VAR_2:units = "°C" ;
VAR_2:C_format = "%.2f" ;
VAR_2:FORTRAN_format = "F12.2" ;
VAR_2:_FillValue = -1.e+010f ;
char QF_VAR_2(N_STATIONS, N_SAMPLES) ;
QF_VAR_2:qf_convention = "ODV generic quality codes" ;
QF_VAR_2:comment = "0: good quality, 1: unknown quality, 4: questionable quality, 8: bad quality" ;
QF_VAR_2:_FillValue = "1" ;
float VAR_3(N_STATIONS, N_SAMPLES) ;
VAR_3:long_name = "Salinity" ;
VAR_3:units = "psu" ;
VAR_3:C_format = "%.4f" ;
VAR_3:FORTRAN_format = "F12.4" ;
VAR_3:_FillValue = -1.e+010f ;
char QF_VAR_3(N_STATIONS, N_SAMPLES) ;
QF_VAR_3:qf_convention = "ODV generic quality codes" ;
QF_VAR_3:comment = "0: good quality, 1: unknown quality, 4: questionable quality, 8: bad quality" ;
QF_VAR_3:_FillValue = "1" ;
double Date_Time(N_STATIONS) ;
Date_Time:long_name = "Decimal time in Gregorian Days of the station" ;
Date_Time:units = "days since 1988-01-01 00:00:00 UTC" ;
Date_Time:calendar = "proleptic_gregorian" ;
Date_Time:C_format = "%.5f" ;
Date_Time:FORTRAN_format = "F12.5" ;
Date_Time:comment = "Relative Gregorian Days with decimal part (as parts of day)" ;
Date_Time:_FillValue = -10000000000. ;
// global attributes:
:Conventions = "ODV NetCDF Export File" ;
:Version = "V0.1" ;
:CreateTime = "2012-06-25T08:22:17" ;
:Software = "Ocean Data View 4.5.0" ;
Cheers, Stephan
|