CTLファイルのtemplate例

ERA5をtemplateで読み込む例

DSET ^atm_%y4%m2.nc

TITLE Monthly averaged ERA5 data

DTYPE netcdf

OPTIONS template yrev

UNDEF -9.99e+8

UNPACK scale_factor add_offset

XDEF 1440 linear 0.0 0.25

YDEF 720 linear -90 0.25

ZDEF 37 LEVELS

1 2 3 5 7 10 20 30 50 70 100 125 150 175 200 225

250 300 350 400 450 500 550 600 650 700 750 775 800 825

850 875 900 925 950 975 1000

TDEF 252 LINEAR jan1979 1mo

VARS 12

cs=>cc 37 t,z,y,x Fraction of cloud cover

z=>z 37 t,z,y,x Geopotential

r=>rh 37 t,z,y,x Relative humidity

ciwc=>qi 37 t,z,y,x Specific cloud ice water content

clwc=>qc 37 t,z,y,x Specific cloud liquid water content

q=>qv 37 t,z,y,x Specific humidity

crwc=>qr 37 t,z,y,x Specific rain water content

cswc=>qs 37 t,z,y,x Specific snow water content

t=>t 37 t,z,y,x Temperature

u=>u 37 t,z,y,x U component of wind

v=>v 37 t,z,y,x V component of wind

w=>w 37 t,z,y,x Vertical velocity

ENDVARS

ERA5のだと、scale_factor とadd_offsetをUNPACKに指定する必要がある。