1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
// -*-C++-*-
// Generate netCDF file with:
// ncgen -k netCDF-4 -b -o ~/nco/data/mdl.nc ~/nco/data/mdl.cdl
netcdf mdl {
group: cesm {
group: cesm_01 {
:Conventions = "CF-1.5";
:history = "yada yada yada";
:Scenario = "Historical";
:Model = "CESM";
:Realization = "1";
dimensions:
time=unlimited;
variables:
float tas1(time);
float tas2(time);
double time(time);
data:
tas1=272.1,272.1,272.1,272.1;
tas2=272.1,272.1,272.1,272.1;
time=1.,2.,3.,4.;
} // cesm_01
group: cesm_02 {
:Conventions = "CF-1.5";
:history = "yada yada yada";
:Scenario = "Historical";
:Model = "CESM";
:Realization = "2";
dimensions:
time=unlimited;
variables:
float tas1(time);
float tas2(time);
double time(time);
data:
tas1=272.2,272.2,272.2,272.2;
tas2=272.2,272.2,272.2,272.2;
time=1.,2.,3.,4.;
} // cesm_02
} // cesm
group: ecmwf {
group: ecmwf_01 {
:Conventions = "CF-1.5";
:history = "yada yada yada";
:Scenario = "Historical";
:Model = "ECMWF";
:Realization = "1";
dimensions:
time=unlimited;
variables:
float tas1(time);
float tas2(time);
double time(time);
data:
tas1=273.1,273.1,273.1,273.1;
tas2=273.1,273.1,273.1,273.1;
time=1.,2.,3.,4.;
} // ecmwf_01
group: ecmwf_02 {
:Conventions = "CF-1.5";
:history = "yada yada yada";
:Scenario = "Historical";
:Model = "ECMWF";
:Realization = "2";
dimensions:
time=unlimited;
variables:
float tas1(time);
float tas2(time);
double time(time);
data:
tas1=273.2,273.2,273.2,273.2;
tas2=273.2,273.2,273.2,273.2;
time=1.,2.,3.,4.;
} // ecmwf_02
} // ecmwf
} // root group
|