Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vrfy/metp jobs to use jobid in their DATAROOT folders #414

Merged
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
4 changes: 3 additions & 1 deletion jobs/rocoto/metp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ status=$?
export COMPONENT=${COMPONENT:-atmos}
export VDATE="$(echo $($NDATE -${VRFYBACK_HRS} $CDATE) | cut -c1-8)"

export pid=${pid:-$$}
export jobid=${job}.${pid}
export COMIN="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export DATAROOT="$RUNDIR/$CDATE/$CDUMP/vrfy"
export DATAROOT="$RUNDIR/$CDATE/$CDUMP/metp.${jobid}"
[[ -d $DATAROOT ]] && rm -rf $DATAROOT
mkdir -p $DATAROOT

Expand Down
4 changes: 3 additions & 1 deletion jobs/rocoto/vrfy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ export COMPONENT=${COMPONENT:-atmos}
export CDATEm1=$($NDATE -24 $CDATE)
export PDYm1=$(echo $CDATEm1 | cut -c1-8)

export pid=${pid:-$$}
export jobid=${job}.${pid}
export COMIN="$ROTDIR/$CDUMP.$PDY/$cyc/$COMPONENT"
export DATAROOT="$RUNDIR/$CDATE/$CDUMP/vrfy"
export DATAROOT="$RUNDIR/$CDATE/$CDUMP/vrfy.${jobid}"
[[ -d $DATAROOT ]] && rm -rf $DATAROOT
mkdir -p $DATAROOT

Expand Down
2 changes: 1 addition & 1 deletion parm/config/config.post
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ else
fi

export GRIBVERSION='grib2'
export SENDCOM=${SENDCOM:-"YES"}
export SENDCOM="YES"

echo "END: config.post"