SPECTRE
After running the model, you can compute spectra with the program SPECTRE, that gives the kinetic energy density according to the wavelength or the wave number [Ricard et al., 2013]. The calculation uses a discrete cosinus transform to convert grid-point fields into spectral space ones.
Executable |
Namelist |
Function |
|---|---|---|
SPECTRE |
SPEC1.nam |
Compute spectra after simulation |
The following namelists can be used in the SPEC1.nam file :
NAM_SPECTRE_FILE
Fortran name |
Fortran type |
Default value |
|---|---|---|
YINIFILE |
ARRAY(CHARACTER(LEN=128)) |
|
CTYPEFILE |
CHARACTER(LEN=6) |
‘MESONH’ |
YOUTFILE |
ARRAY(CHARACTER(LEN=128)) |
|
LSTAT |
LOGICAL |
.FALSE. |
YINIFILE: name of the input synchronous backup file.CTYPEFILE: type of the input file (‘AROME ‘, ‘MESONH’)YOUTFILE: prefix of the output file.If the user does specify this name, the output file will be named YOUTFILE_U, YOUTFILE_V ….
If the user does NOT specify this name, the output file will be named spectra_YINIFILE_U, spectra_YINIFILE_V ….
LSTAT: flag to have some statistiques on fields if .TRUE.
NAM_SPECTRE
Fortran name |
Fortran type |
Default value |
|---|---|---|
LSPECTRE_U |
LOGICAL |
.FALSE. |
LSPECTRE_V |
LOGICAL |
.FALSE. |
LSPECTRE_W |
LOGICAL |
.FALSE. |
LSPECTRE_TH |
LOGICAL |
.FALSE. |
LSPECTRE_RV |
LOGICAL |
.FALSE. |
LSPECTRE_LSU |
LOGICAL |
.FALSE. |
LSPECTRE_LSV |
LOGICAL |
.FALSE. |
LSPECTRE_LSW |
LOGICAL |
.FALSE. |
LSPECTRE_LSTH |
LOGICAL |
.FALSE. |
LSPECTRE_LSRV |
LOGICAL |
.FALSE. |
LSMOOTH |
LOGICAL |
.FALSE. |
LSPECTRE_U: flag to compute spectrum of U componentLSPECTRE_V: flag to compute spectrum of V componentLSPECTRE_W: flag to compute spectrum of WLSPECTRE_TH: flag to compute spectrum of ThetaLSPECTRE_RV: flag to compute spectrum of vapor mixing ratioLSPECTRE_LSU: flag to compute spectrum of large scale U componentLSPECTRE_LSV: flag to compute spectrum of large scale V componentLSPECTRE_LSW: flag to compute spectrum of large scale WLSPECTRE_LSTH: flag to compute spectrum of large scale ThetaLSPECTRE_LSRV: flag to compute spectrum of large scale vapor mixing ratioLSMOOTH: flag to smooth the results
NAM_ZOOM_SPECTRE
Fortran name |
Fortran type |
Default value |
|---|---|---|
LZOOM |
LOGICAL |
.FALSE. |
NXDEB |
INTEGER |
|
NYDEB |
INTEGER |
|
NITOT |
INTEGER |
|
NJTOT |
INTEGER |
LZOOM: flag to make a zoom on the file domainNXDEB: first point I index, left to and out of the wanted domainNYDEB: first point J index, under and out of the wanted domainNITOT: number of grid points in I direction. It must be equal to \(2^m \times 3^n \times 5^p\) with \((m,n,p) \ge 0\).NJTOT: number of grid points in J direction. It must be equal to \(2^m \times 3^n \times 5^p\) with \((m,n,p) \ge 0\).
NAM_DOMAIN_AROME
This namelist is only available for CTYPEFILE=’AROME’. It contains the caracteristics of the domain arome in the input file.
Fortran name |
Fortran type |
Default value |
|---|---|---|
NI |
INTEGER |
750 |
NJ |
INTEGER |
720 |
NK |
INTEGER |
60 |
XDELTAX |
INTEGER |
2500 |
XDELTAY |
INTEGER |
2500 |
NI: number of points to read in I directionNJ: number of points to read in J directionNK: number of vertical levels to readXDELTAX: gridsize of arome file in I direction (m)XDELTAY: gridsize of arome file in J direction (m)