NOAA-EMC / GLDAS

0 stars 4 forks source link

Add COMPONENT variable to scripts for new atmos subdirectory #8

Closed KateFriedman-NOAA closed 3 years ago

KateFriedman-NOAA commented 3 years ago

Add new $COMPONENT subdirectory to scripts to support GFSv16 restructuring. New subdirectory called "atmos" for atmospheric component.

Documented in global-workflow issue: https://github.com/NOAA-EMC/global-workflow/issues/94

yangfanglin commented 3 years ago

Following lines in exgdas_gldas.sh.ecf needs to be updated as well

change input1=$COMINgdas/gdas.$gldas_symd/$gldas_scyc/RESTART input2=$COMINgdas/gdas.$gldas_eymd/$gldas_ecyc/RESTART

to input1=$COMINgdas/gdas.$gldas_symd/$gldas_scyc/$COMPONENT/RESTART input2=$COMINgdas/gdas.$gldas_eymd/$gldas_ecyc/$COMPONENT/RESTART

Add a export COMPONENT=${COMPONENT:-atmos} to this script

KateFriedman-NOAA commented 3 years ago

Added $COMPONENT to input1/input2 settings and export statement in exgdas_gldas.sh.ecf. Committed to fork branch at 2d34895. Thanks @yangfanglin !