Scripts CD-CT (Continuos Deployment & Continuous Testing) for MONAN (Model for Ocean-laNd-Atmosphere PredictioN)
1.4.0
- Compatibility with MONAN 1.4.3-rc.
- Support for multi-environment: 'Jaci' supercomputer (intel and gnu compilers and PBS scheduler) and 'Egeon' cluster (gnu compiler and SLURM scheduler).
1.3.0
- This version was created to work in operational runs.
- Adjusted to run using 16 nodes and 1024 cores.
- Operational vars (cldfrac_tot_UPP, ter, landmask, and omega) table is also in this version.
- Add flags for ~10Km mesh resolution.
1.2.0
- This version should work only with MONAN-Model 1.3.1/ (3D native model variables)
- Was added some warnings to users regarding the choice of MONAN-Model versions versus scripts_CD-CT versions:
- scripts_CD-CT versions up to 1.1.0 run MONAN-Model only versions up to 1.3.0
- scripts_CD-CT versions 1.2.0 onwards run MONAN-Model only versions 1.3.1 onwards
1.1.0
- Fixed
model.bashscript to check generated files with flexible output_interval field (no longer with constant 3h). - Now it is possible to run all 4 phases with 00z, 06z, 12z and 18z.
- Namelist
namelist.atmosphere.TEMPLATEwas updated to work with MONAN-Model version 1.3.0/, especificconvection_permitting_monanphisic suite.
1.0.1
- Fixing nIsobaricLev(22) in convert_mpas.nml and config_dt(15000) in run_model script.
1.0.0
- Changing integration method (3rd Rung-Kutta), time step (150s), nlat and nlon for post processing at 15km and minor adjustments.
- adding configurations for 15km.
- correction on logic of how many submiting will be computed if nfiles were little then maxpostpernodes.
- new parallel post.
- Target_domain values have been fixed.
- Add copy configs files from convert_mpas to dataout/YYYYMMDDHH/Post/logs (MODEL config files and VERSION.txt also).
- fix in config_len_disp in script 3.run_model.bash .
- modifications in datain/namelists/namelist.atmosphere.TEMPLATE and 3.run_model.bash from Saulo's PR 8 .
0.2.2
- Fixed the value of config_bucket_update in namelist.atmosphere.
- Fixed module load in opengrads in setenv.
0.2.1
- Switch of configs (CONFIG_DT, CONFIG_LEN_DISP, target_domain, etc.) 120 and 24 km.
- Clean temporary outputs files option add in the 3.run_model.bash script.
- Verification if all the output files were created ok from model phase.
0.2.0
- Including copy of the GF_ConvPar_nml from model source to scripts folder.
- Changing physics suite to mesoscale_reference_monan.
- Changing the output model interval to 3h adjusting the post processing.
- Changing the radtlw and radtsw interval to 30m, and conv interval to 15m.
0.1.1
- Fixing bug on pressure levels description in post files
- Fixing variables name in post files
0.1.0
- Used parameterization to select the date for execution.
- Created cron script for daily executions.
- Post-processing is with the new version of convert_mpas, enabling the use of grads.
- Grouping all variables with one pressure level to only one variable with all levels.
- Defined default version of MONAN-Model (0.5.0) and convert_mpas (0.1.0) in the installation step.
Getting the scritps:
Cloning this repo: git clone https://github.com/monanadmin/scripts_CD-CT.git
you will get this directories:
datain/namelists
scripts
- The
datain/namelistsdirectory contains all versioned namelists needded for run and compile all phases of model; - The
scriptsdirectory is the most important folder that contains all the scripts that you will need to install, compile, run, and produce produtcs of the A-MONAN model.
You will need to execute only 6 steps scripts, so you can run the Atmospheric MONAN Model:
1. Install the model:
- First you need to get a fork repository in your github account of a MONAN oficial repo:
https://github.com/monanadmin/MONAN-Model. Attention! Uncheck "Copy the main branch only" in the fork creation step to copy all branches. - The you can install the model in your work directory by running:
./1.install_monan.bash <https://github.com/MYUSER/MONAN-Model-My-Fork.git> <OPTIONAL_tag_or_branch_name_MONAN-Model-My-Fork> <OPTIONAL_tag_or_branch_namer_Convert-MPAS>
Default values:
<OPTIONAL_tag_or_branch_name_MONAN-Model> = "1.4.3-rc"
<OPTIONAL_tag_or_branch_name_Convert-MPAS> = "1.2.0"
- This first step will create a standart diretories structures for work:
scripts_CD-CT/
scripts
sources
execs
datain
dataout
Where:
scriptsfolder will contain all scripts produced to run all steps of the model;sourcesfolder will contain all codes of any processes that uses compiled programming languages, such as MONAN model sources, convert_mpas sources, etc.execsfolder will contain all the executables needed;datainfolder will contain all the input data that the model need to run;dataoutfolder will contain all the output files generated of running of the MONAN, such as:dataout\Pre\<YYYYMMDDHH>will contain all the output files from the pre-processing phase, mostly are all the initial condition for run the MONAN;dataout\Model\<YYYYMMDDHH>will contain all the output files from the MONAN model;dataout\Post\<YYYYMMDDHH>will contain all the output files from the post-processing phase of the MONAN;
After running the first step, it will clone the MONAN model from your fork repo in a source diretory.
2. Prepare the Initial Conditions for the model:
- Just run the second script as follows:
2.pre_processing.bash EXP_NAME RESOLUTION LABELI FCST
EXP_NAME :: Forcing: GFS
:: Others options to be added later...
RESOLUTION :: number of points in resolution model grid, e.g: 1024002 (24 km)
LABELI :: Initial date YYYYMMDDHH, e.g.: 2024010100
FCST :: Forecast hours, e.g.: 24 or 36, etc.
24 hour forcast example:
./2.pre_processing.bash GFS 1024002 2024010100 24
3. Run the model:
- Execute the 3rd step script:
3.run_model.bash EXP_NAME RESOLUTION LABELI FCST
EXP_NAME :: Forcing: GFS
:: Others options to be added later...
RESOLUTION :: number of points in resolution model grid, e.g: 1024002 (24 km)
LABELI :: Initial date YYYYMMDDHH, e.g.: 2024010100
FCST :: Forecast hours, e.g.: 24 or 36, etc.
24 hour forcast example:
./3.run_model.bash GFS 1024002 2024010100 24
4. Run the post-processing model:
- Execute the 4th step script:
4.run_post.bash EXP_NAME RESOLUTION LABELI FCST
EXP_NAME :: Forcing: GFS
:: Others options to be added later...
RESOLUTION :: number of points in resolution model grid, e.g: 1024002 (24 km)
LABELI :: Initial date YYYYMMDDHH, e.g.: 2024010100
FCST :: Forecast hours, e.g.: 24 or 36, etc.
24 hour forcast example:
./4.run_post.bash GFS 1024002 2024010100 24