-
Notifications
You must be signed in to change notification settings - Fork 3
DT-459: extract sites config #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
2290f26
6741f96
074a279
47b7f7e
2a44d3b
81be93f
44afe8d
41bddc4
f655e4e
c29adeb
e389b43
11f9740
00923e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,3 +55,6 @@ __pycache__ | |
|
|
||
| # Spack build cache | ||
| build-linux-* | ||
|
|
||
| # Jetbrains IDEs | ||
| .idea/ | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,42 @@ | ||||||
| !****************************************************************************** | ||||||
| !* * | ||||||
| !* Input file for the Lagrangian particle dispersion model FLEXPART * | ||||||
| !* Please select your options * | ||||||
| !* * | ||||||
| !****************************************************************************** | ||||||
| ! | ||||||
| ! Anonymized control-file template. Lines a job cannot vary are literals; the templated values come | ||||||
| ! from the per-site config published to S3 by Terraform (`site`) and from the run's resolved time | ||||||
| ! window (`job`, derived from FORECAST_DATETIME plus the site's offsets). Adding a knob means | ||||||
| ! templating a line here - the site config deliberately carries no namelist key names and no dates. | ||||||
| ! | ||||||
| &COMMAND | ||||||
| LDIRECT={{ site.direction_value }}, ! Simulation direction in time ; 1 (forward) or -1 (backward) | ||||||
| IBDATE={{ job.simulation_start | fp_date }}, ! Start date of the simulation ; YYYYMMDD: YYYY=year, MM=month, DD=day | ||||||
| IBTIME={{ job.simulation_start | fp_time }}, ! Start time of the simulation ; HHMISS: HH=hours, MI=min, SS=sec; UTC | ||||||
| IEDATE={{ job.simulation_end | fp_date }}, ! End date of the simulation ; same format as IBDATE | ||||||
| IETIME={{ job.simulation_end | fp_time }}, ! End time of the simulation ; same format as IBTIME | ||||||
| LOUTSTEP={{ site.output_interval_s }}, ! Interval of model output; average concentrations calculated every LOUTSTEP (s) | ||||||
| LOUTAVER= 10800, ! Interval of output averaging (s) | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
LOUTAVER should equal LOUTSTEP |
||||||
| LOUTSAMPLE= 900, ! Interval of output sampling (s), higher stat. accuracy with shorter intervals | ||||||
| ITSPLIT= 999999999, ! Interval of particle splitting (s) | ||||||
| LSYNCTIME= 900, ! All processes are synchronized to this time interval (s) | ||||||
| CTL= -5.0, ! CTL>1, ABL time step = (Lagrangian timescale (TL))/CTL, uses LSYNCTIME if CTL<0 | ||||||
| IFINE= 4, ! Reduction for time step in vertical transport, used only if CTL>1 | ||||||
| IOUT= 9, ! Output type: [1]mass 2]pptv 3]1&2 4]plume 5]1&4, +8 for NetCDF output | ||||||
| IPOUT= 0, ! Particle position output: 0]no 1]every output 2]only at end 3]time averaged | ||||||
| LSUBGRID= 0, ! Increase of ABL heights due to sub-grid scale orographic variations;[0]off 1]on | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This parameter is set to 1 at CSCS (which makes sense), so we should set it to 1 here to keep difference to CSCS configuration minimal |
||||||
| LCONVECTION= 1, ! Switch for convection parameterization;0]off [1]on | ||||||
| LAGESPECTRA= 0, ! Switch for calculation of age spectra (needs AGECLASSES);[0]off 1]on | ||||||
| IPIN= 0, ! Warm start from particle dump (needs previous partposit_end file); [0]no 1]yes | ||||||
| IOUTPUTFOREACHRELEASE= 1, ! Separate output fields for each location in the RELEASE file; [0]no 1]yes | ||||||
| IFLUX= 0, ! Output of mass fluxes through output grid box boundaries | ||||||
| MDOMAINFILL= 0, ! Switch for domain-filling, if limited-area particles generated at boundary | ||||||
| IND_SOURCE= 1, ! Unit to be used at the source ; [1]mass 2]mass mixing ratio | ||||||
| IND_RECEPTOR= 1, ! Unit to be used at the receptor; [1]mass 2]mass mixing ratio 3]wet depo. 4]dry depo. | ||||||
| MQUASILAG= 0, ! Quasi-Lagrangian mode to track individual numbered particles | ||||||
| NESTED_OUTPUT= 0, ! Output also for a nested domain | ||||||
| LINIT_COND= 0, ! Output sensitivity to initial conditions (bkw mode only) [0]off 1]conc 2]mmr | ||||||
| SURF_ONLY= 0, ! Output only for the lowest model layer, used w/ LINIT_COND=1 or 2 | ||||||
| CBLFLAG= 0, ! Skewed, not Gaussian turbulence in the convective ABL, need large CTL and IFINE | ||||||
| / | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| !****************************************************************************** | ||
| !* * | ||
| !* Input file for the Lagrangian particle dispersion model FLEXPART * | ||
| !* Please select your options * | ||
| !* * | ||
| !****************************************************************************** | ||
| ! | ||
| ! Anonymized control-file template. Lines a job cannot vary are literals; the templated values come | ||
| ! from the per-site config published to S3 by Terraform (`site`) and from the run's resolved time | ||
| ! window (`job`, derived from FORECAST_DATETIME plus the site's offsets). Adding a knob means | ||
| ! templating a line here - the site config deliberately carries no namelist key names and no dates. | ||
| ! | ||
| &RELEASES_CTRL | ||
| NSPEC={{ site.nspec }}, ! Total number of species | ||
| SPECNUM_REL={{ site.species }}, ! Species numbers in directory SPECIES | ||
| / | ||
| &RELEASE ! For each release | ||
| IDATE1={{ job.release_start | fp_date }}, ! Release start date, YYYYMMDD: YYYY=year, MM=month, DD=day | ||
| ITIME1={{ job.release_start | fp_time }}, ! Release start time in UTC HHMISS: HH hours, MI=minutes, SS=seconds | ||
| IDATE2={{ job.release_end | fp_date }}, ! Release end date, same as IDATE1 | ||
| ITIME2={{ job.release_end | fp_time }}, ! Release end time, same as ITIME1 | ||
| LON1={{ site.longitude }}, ! Left longitude of release box -180 < LON1 <180 | ||
| LON2={{ site.longitude }}, ! Right longitude of release box, same as LON1 | ||
| LAT1={{ site.latitude }}, ! Lower latitude of release box, -90 < LAT1 < 90 | ||
| LAT2={{ site.latitude }}, ! Upper latitude of release box same format as LAT1 | ||
| Z1={{ site.height_m }}, ! Lower height of release box meters/hPa above reference level | ||
| Z2={{ site.height_m }}, ! Upper height of release box meters/hPa above reference level | ||
| ZKIND={{ site.zkind }}, ! Reference level 1=above ground, 2=above sea level, 3 for pressure in hPa | ||
| MASS={{ site.mass_bq | fortran_real }}, ! Total mass emitted, only relevant for fwd simulations | ||
| PARTS = 200000, ! Total number of particles to be released | ||
| COMMENT="{{ site.comment }}", ! Comment, written in the outputfile | ||
| / |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks bigger than before? Is all of this correct?