LMDz grid LMDZ/std#

Description#

This plugin reads LMDz 3D domain

Two files are required to specify the LMDz domain with the LMDZ grid plugin:

  • a grid text file containing the horizontal grid coordinates

  • a ‘vcoord’ NetCDF file

Show/Hide LMDz_grid.txt

97
-180
-176.25
-172.5

...

172.5
176.25
180
96
90
88.1053
86.2105

...

-86.2105
-88.1053
-90
12 6

Show/Hide LMDz_voord.nc

dimensions:
  temps = UNLIMITED ; // (0 currently)
  index = 100 ;
  rlonu = 97 ;
  rlatu = 96 ;
  rlonv = 97 ;
  rlatv = 95 ;
  sig = 40 ;
variables:
  double controle(index) ;
    controle:_FillValue = NaN ;
    controle:long_name = "controle parameters" ;
  double rlonu(rlonu) ;
    rlonu:_FillValue = NaN ;
    rlonu:long_name = "u points longitude" ;
    rlonu:units = "degrees_east" ;
  double rlatu(rlatu) ;
    rlatu:long_name = "u points latitude" ;
    rlatu:units = "degrees_north" ;
  double rlonv(rlonv) ;
    rlonv:long_name = "v points longitude" ;
    rlonv:units = "degrees_east" ;
  double rlatv(rlatv) ;
    rlatv:long_name = "v points latitude" ;
    rlatv:units = "degrees_north" ;
  double ap(sig) ;
    ap:long_name = "A coefficient for pressure" ;
    ap:units = "Pa" ;
  double bp(sig) ;
    bp:long_name = "B coefficient for pressure" ;
    bp:units = "None" ;
  double cu(rlatu, rlonu) ;
  double cv(rlatv, rlonv) ;
  double aire(rlatu, rlonv) ;
    aire:long_name = "grid cell area" ;
    aire:units = "m2" ;

YAML arguments#

The following arguments are used to configure the plugin. pyCIF will return an exception at the initialization if mandatory arguments are not specified, or if any argument does not fit accepted values or type:

Mandatory arguments#

filegrid : str, mandatory

File with longitudes and latitudes

file_vcoord : str, mandatory

File with vertical coordinates. Should be a restart file from a previous online simulation

dir_vcoord : str, mandatory

Directory where to find file_vcoord

YAML template#

Please find below a template for a YAML configuration:

 1domain:
 2  plugin:
 3    name: LMDZ
 4    version: std
 5    type: domain
 6
 7  # Mandatory arguments
 8  filegrid: XXXXX  # str
 9  file_vcoord: XXXXX  # str
10  dir_vcoord: XXXXX  # str