Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions utilities/conv_gefs2datm/README.md
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
9 changes: 9 additions & 0 deletions utilities/conv_gefs2datm/comp_f77_code.csh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /bin/csh
module load intel
module load netcdf

Comment thread
hyunchul386 marked this conversation as resolved.
set name = $1
#--- in hera
set FFLAGS='-extend-source 132'

Comment thread
hyunchul386 marked this conversation as resolved.
ifort $FFLAGS ${name}.f -o ${name} -I$NETCDF/include -L$NETCDF/lib -lnetcdf
Loading