Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2015-11-24 10:28:41
Size: 1988
Editor: NicoleThomas
Comment:
Revision 6 as of 2015-11-25 09:17:27
Size: 2857
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Randersetzung in MESSy-CLaMS = = Update of the boundary conditions in MESSy-CLaMS =
Line 3: Line 3:
Alle Randersetzungen werden im Unterprogramm '''clamsbmix_global_end''' (messy_clamsbmix_si.f90) aufgerufen.

Die Ersetzungen im CLaMS-Paket BMIX und in der Messy-Routine '''bmix''' sind identisch. Die Randersetzungen erfolgen in der in MIX/BMIX festgelegten untersten bzw. obersten Schicht.
 
Die Randersetzungen aus ''replace_lbound'', ''pos_chem'' und ''pos_dyn'' werden in der Routine '''replace_boundaries''' vorgenommen (in messy_clamsbmix_replace_bounds). Diese Routine wird in clamsbmix_global_end nach BMIX aufgerufen. Die Ersetzungen erfolgen in einem vorgegebenen Bereich (unabhängig von den in MIX/BMIX verwendeten Schichten).
The routines for updating the boundary conditions are called in ''clamsbmix_global_end'' (''messy_clamsbmix_si.f90'').
Line 10: Line 6:
Spezifikation der Ersetzungen in '''clamsbmix.nml''':
Specifications in '''clamsbmix.nml''':
Line 18: Line 15:
 * ''file_bounds'': Boundfile/Init-File für BMIX
 * ''dir_boundfiles'': Verzeichnis mit Boundfiles (mit Ausnahme des Init-Files)
 * ''bmix_boundlist'': Datei, in der die in BMIX zu ersetzenden Spezies aufgeführt sind
 * ''clams_boundlist'': Datei, in der alle weiteren Randersetzungen (in replace_boundaries) aufgelistet sind
 * ''file_bounds'': boundfile/init file used in ''bmix''
 * ''dir_boundfiles'': directory with all other boundfiles used in ''bmix'' or ''replace_boundaries''
 * ''bmix_boundlist'': file with specifications for all species replaced in ''bmix''
 * ''clams_boundlist'': file with specifications for all species replaced in ''replace_boundaries''
Line 23: Line 20:
Inhalt der als '''bmix_boundlist''' angegebenen Datei (z.B. ''bounds_bmix_clim.inp''):

Specificatio
ns for '''bmix''' in '''bmix_boundlist''' (e.g. ''bounds_bmix_clim.inp''):
Line 34: Line 33:
 * Angaben pro Zeile: Spezies, Rand, Aktion, Boundfile
Line 36: Line 34:
 * Rand:
  * 1 = Unterrand
  * 2 = Oberrand
  * 3 = Unter- und Oberrand
specifications per line:
Line 41: Line 36:
 * Aktion:
  * 1 = interpoliere + ersetze
  * 2 = interpoliere + addiere
  * species
  * boundary, which should be replaced:
     * 1 = lower boundary
     * 2 = upper boundary
     * 3 = lower and upper boundary
  * action:
     * 1 = interpolate + replace
     * 2 = interpolate + add
  * boundfile: file with boundary conditions (in directory ''dir_boundfiles'')


Specifications for '''replace_boundaries''' in '''clams_boundlist''' (e.g. ''bounds_clams_clim.inp'') :
{{{
CO CO 200 1 0 0 2001 2011 mopitt_chem_bound_2_0_0200K
CO CO 200 1 0 0 2012 2015 AIRS_chem_bound_CO_1_5_0200K
CH4 CH4 200 1 0 0 2012 2015 AIRS_chem_bound_CH4_0200K
HCl HCl 0. 0 500. 1 1970 2020 haloe_eqlat_climat_theta_update.nc
O3 O3 0. 0 500. 1 1970 2020 haloe_eqlat_climat_theta_update.nc
TRACER O3 0. 0 500. 1 1970 2020 haloe_eqlat_climat_theta_update.nc
H2O SH 250. 1 0 0 1970 2020 METDATA
}}}

specifications per line:

   * speciesname in CLaMS
   * speciesname in boundfile
   * lower boundary [ZETA]
   * action at lower boundary
     * 0: no replacement
     * 1: interpolate + replace
     * 9: set to 0.
   * upper boundary [ZETA]
   * action at upper boundary
     * 0: no replacement
     * 1: iinterpolate + replace
     * 9: set to 0.
   * startyear and endyear: replacement of boundaries only between start- and endyear
   * boundfile: file with boundary conditions (in directory ''dir_boundfiles'')

Update of the boundary conditions in MESSy-CLaMS

The routines for updating the boundary conditions are called in clamsbmix_global_end (messy_clamsbmix_si.f90).

Specifications in clamsbmix.nml:

file_bounds='/usr/nfs/data/clams/clim/init/init_KY2_79010112.nc',
dir_boundfiles='/usr/nfs/data/clams/clim/config/',
bmix_boundlist='/usr/nfs/local/messy_config/bounds_bmix_clim.inp',
clams_boundlist='/usr/nfs/local/messy_config/bounds_clams_clim.inp'
  • file_bounds: boundfile/init file used in bmix

  • dir_boundfiles: directory with all other boundfiles used in bmix or replace_boundaries

  • bmix_boundlist: file with specifications for all species replaced in bmix

  • clams_boundlist: file with specifications for all species replaced in replace_boundaries

Specifications for bmix in bmix_boundlist (e.g. bounds_bmix_clim.inp):

CH4   1  1  chem_bound_noaa_cmdl.nc
CO    1  1  chem_bound_noaa_cmdl.nc
CO2   1  1  chem_bound_noaa_cmdl.nc
N2O   1  1  chem_bound_noaa_cmdl.nc
F11   1  1  chem_bound_noaa_cmdl.nc 
F12   1  1  chem_bound_noaa_cmdl.nc 
HCN   1  2  hcn_boundary_2_0_deg_50p_2000010112_2007123112.nc

specifications per line:

  • species
  • boundary, which should be replaced:
    • 1 = lower boundary
    • 2 = upper boundary
    • 3 = lower and upper boundary
  • action:
    • 1 = interpolate + replace
    • 2 = interpolate + add
  • boundfile: file with boundary conditions (in directory dir_boundfiles)

Specifications for replace_boundaries in clams_boundlist (e.g. bounds_clams_clim.inp) :

CO       CO    200    1  0      0  2001  2011  mopitt_chem_bound_2_0_0200K     
CO       CO    200    1  0      0  2012  2015  AIRS_chem_bound_CO_1_5_0200K   
CH4      CH4   200    1  0      0  2012  2015  AIRS_chem_bound_CH4_0200K      
HCl      HCl   0.     0  500.   1  1970  2020  haloe_eqlat_climat_theta_update.nc      
O3       O3    0.     0  500.   1  1970  2020  haloe_eqlat_climat_theta_update.nc      
TRACER   O3    0.     0  500.   1  1970  2020  haloe_eqlat_climat_theta_update.nc      
H2O      SH    250.   1  0      0  1970  2020  METDATA       

specifications per line:

  • speciesname in CLaMS
  • speciesname in boundfile
  • lower boundary [ZETA]
  • action at lower boundary
    • 0: no replacement
    • 1: interpolate + replace
    • 9: set to 0.
  • upper boundary [ZETA]
  • action at upper boundary
    • 0: no replacement
    • 1: iinterpolate + replace
    • 9: set to 0.
  • startyear and endyear: replacement of boundaries only between start- and endyear
  • boundfile: file with boundary conditions (in directory dir_boundfiles)

messy/bmix (last edited 2023-03-20 11:55:56 by NicoleThomas)