Monday, June 30, 2014

how to run setpdy.sh

1. Two vars must be exported first : cycle and PDY
$ export cycle=06

$ export PDY=20130719

2. Run setpdy.sh
$ /usr/local/jcsda/nwprod_gdas_2014/util/ush/setpdy.sh

This is generate a file called "PDY" 

$ lr  PDY
-rwxrwxr-x  1 dxu domain users     328 Jun 30 19:35 PDY
$ cat  PDY
export PDYm7=20130712
export PDYm6=20130713
export PDYm5=20130714
export PDYm4=20130715
export PDYm3=20130716
export PDYm2=20130717
export PDYm1=20130718             # <== 7 days pasted                
export PDY=20130719                  # <== current day
export PDYp1=20130720              # <== 7 days coming
export PDYp2=20130721
export PDYp3=20130722
export PDYp4=20130723
export PDYp5=20130724
export PDYp6=20130725
export PDYp7=20130726

No comments:

Post a Comment