The purpose of this shell script is to run the WPS program with IMDAA data to produce metgrid output files at user-defined intervals. This generates separate intermediate files (by UNGRIB) for different parameters such as mean sea level pressure, skin temperature, 2-meter Relative humidity, 2-meter temperature, etc. Next is GEOGRID, which turns all static data into user-defined grid points. Then there is METGRID, which takes the GEOGRID output and uses these different parameters (in UNGRIB format) as intermediate data. The script follows GRIB2 parameter identities for the NCMRWF Unified Model (NCUM) output conventions; therefore, the "tables" folder consists of some essential tables that need to be downloaded along with this script. After successful completion of this script, the user should conventionally proceed with REAL.EXE and WRF.EXE (or TC.EXE and NDOWN.EXE).
- Run geogrid.exe
- Run ungrib.exe for all parameters separately
- Run metgrid.exe
- WRF pre-processing program (i.e., WPS). This path needs to be given in the user_input file (as "wps_path").
- wgrib2 and eccodes for sorting the data.
- NETCDF4 and NCKS for checking data
- Openmpi, mpich, Intel C, or Intel Fortran for parallel runs. Otherwise, go for a serial run.
- Download IMDAA data and keep all files (single- and pressure-level data) in one directory. Give this directory path as "imdaa_data_path" in the user input section. Do not keep single and pressure-level data separately in different directories.
- The user must have a namelist.wps to run this script. Give the full path in user_input.sh (preferably keep namelist.wps in a different location to stay unchanged).
-
Download IMDAA data and keep all files (single and pressure-level data) in one directory. Give this directory path as "imdaa_data_path" in the user_input file. Do not keep single and pressure-level data separately in different directories.
-
Create a folder in your preferred location and keep this repository. Nothing else needs to be kept in this directory. or clone the repository.
-
Fill in all the details in the user_input.sh file.
-
Keep the "tables" folder as it is.
-
Make the script executable:
chmod +x runscript_ncmrwf.sh
-
Then type:
./runscript_ncmrwf.sh
For a detailed description, you may go through the documentation here.
If you are facing any issues while running this script, please raise a concern here or send an email to vhazra.c4pi@nic.in
regards,
V Hazra