forked from NOAA-EMC/DATM-MOM6-CICE5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from NOAA-EMC/develop
Feature/hera_preprocess_gefs (#7)
- Loading branch information
Showing
4 changed files
with
964 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# How to use conv_gefs2datm | ||
|
||
|
||
## Input data (GEFS) sources | ||
|
||
At HPSS : `/3year/NCEPDEV/GEFSRR/gefsrr_replay_${YYYYstream}stream/${YYYYMMDDHH}.tar` | ||
At WCOSS : `(venus)/gpfs/dell2/emc/modeling/noscrub/Hyun-Chul.Lee/GEFS/Reanal` | ||
|
||
## Output data (DATM) archive | ||
At HPSS : `/5year/NCEPDEV/marineda/DATM_INPUT/GEFS/${YYYYMM}/gefs.${YYYYMMDDHH}.nc` | ||
At Hera : `/scratch2/NCEPDEV/marineda/godas_input/DATM_INPUT/GEFS/${YYYYMM}/gefs.${YYYYMMDDHH}.nc` | ||
|
||
## To conver from GEFS to DATM (netCDF), | ||
|
||
1) Compile the code | ||
`csh ./comp_f77_code.csh conv_gefs2datm` | ||
|
||
2) Modify the run script of conv_gefs2datm.fort.csh | ||
`set sdir = !<-- source of GEFS | ||
set tdir = !<-- output dir | ||
set wdir = !<-- work dir ` | ||
|
||
Define the starting and ending date at YYYYMMDD format | ||
`set symd = 20130529 !<-- start date` | ||
`set eymd = 20190831 !<-- end date` | ||
|
||
3) Run the script | ||
`csh ./conv_gefs2datm.fort.csh` | ||
|
||
## More information can be found | ||
|
||
https://docs.google.com/spreadsheets/d/1M32BvPgXuPqewQWO5cwsECLdcTj9o1x2Rq7GDvSpltk/edit#gid=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#! /bin/csh | ||
module load intel | ||
module load netcdf | ||
|
||
set name = $1 | ||
#--- in hera | ||
set FFLAGS='-extend-source 132' | ||
|
||
ifort $FFLAGS ${name}.f -o ${name} -I$NETCDF/include -L$NETCDF/lib -lnetcdf |
Oops, something went wrong.