[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010221: New one
- Subject: 20010221: New one
- Date: Wed, 21 Feb 2001 18:43:22 -0700
>From: "Paul L. Sirvatka" <address@hidden>
>Organization: College of DuPage
>Keywords: 200102162013.f1GKD9L01250 McIDAS-X SFCCON GRDDISP
Paul,
>Well...you certainly gave me a lot of reading....but I am getting
>better. We were behind on data so I switched sfcdata to ADDE.UCAR.EDU
>hence showing the power of ADDE!
Yup, it is really cool.
>My window was still crashing today...
This will take some time to look into.
>only when I was on a window that was
>doing some calculations. IF I ran everything from a on-used window, it was
>fine.
Weird.
>Also...from before
>P3DIF FORMAT=F5.1 \
> MATH='P1-P2' \
> ISFC='P1=PSL {TIME (NOW);DAY (NOW)}' 'P2=PSL {TIME (NOW-3);DAY
>(NOW-3)}'\
> SVCA='na'\
> SYN= 'P1=PSL {TIME (NOW);DAY (NOW)}' 'P2=PSL {TIME (NOW-3);DAY
>(NOW-3)}'\
> ISHP='P1=PSL {TIME (NOW);DAY (NOW)}' 'P2=PSL {TIME (NOW-3);DAY
>(NOW-3)}'
>
>When I use it over the OOZ hour, things die. I think that the day for P2
>is still the same (in other words it subtracts the time to be 0-3 or 21Z
>but it does not change the day. So it bombs because it does not find data
>from 21Z on the *same* day. From the SFCCON.CORE there is the same example
>with TDIF but it does not work. I looked at the error output and at the
>end it says that for P1 and P2 the day is the same.
This is not how the P3DIF entry should work, but I will check with
the SSEC developer to make sure.
>I know there is a work around....but I do not know what it is. I tried
>putting in a string into the definition of P3DIF but it did not translate
>it.
Right, strings are not interpreted in the context files. Perhaps
reading the explanation of how to do things in SFCCON.CORE would be useful?
>That leads to antoher question...when something like that fails in a batch
>file the whole batch file stops. That kinda is a bummer!
To force a BATCH file to continue execution even when one of the entries
in it bombs, add the CONTINUE=UES keyword sequence to the BATCH invocation
command line.
>My surface batch btw is as follows: When the P3DIF fails it does not
>follow the rest of that batchfile. Actually it is a pretty good
>program. Things look nice!
Super. With the CONTINUE=YES addition, you will get the rest of the
things that should be calculated.
I took a quick look at your script, but I had to modify some things
to get it to run here (missing some of your local stuff). Looking good!
By the way, I won't be in tomorrow, so don't be suprised if I don't answer
email. Goin skiing!
>IGU DEL 21
>ERASE F 1 10 PAN=1 4
>GU REST SURFACE 1 10
>
>REM For US use SURFACEMAP, for Canada use CANADAMAP
>REM For Chase use CHASEMAP
>REM For floater choose from : MIDWEST, GLAKES, NEWENGLAND, SOPLNS, NOPLNS
>REM WEST, SOUTHWEST, or GULFCOAST
>
>TE BASEMAP "SOPLNS
>
>REM For saving images: u - US; c - CAN; f - FLOATER; m - Plains
>
>TE MDVG "fmdvg-g.gif
>TE TPSL "ft-psl.gif
>TE WXTD "fwx-td.gif
>TE THAE "fthaest.gif
>TE PRFL "fpresfl.gif
>TE PAN "fdiv4pan.gif
>
>REM Set Time and Date String
>DATEFMT SFCTIME
>REM Now, let's start making some maps!
>
>REM Dew Points and Current Weather on 2
>
>SFCCON TD #BASEMAP LATEST GRA=2 UNIT=F CINT=5 COLOR=2
>SFCPLOT WX OLAY GRA=2 COLOR=3
>BATCH 2 "DEWLABEL.BAT
>FRMSAVE 2 /home/httpd/html/surfacegifs/#WXTD
>
>REM Pressure and Temperature on 3
>SFCCON PSL #BASEMAP LATEST GRA=3 CINT=2 COLOR=2
>
>SFCCON T OLAY LATEST GRA=3 CINT=5 COLOR=3 UNIT=F DASH=ALL
>BATCH 3 "PRELABEL.BAT
>FRMSAVE 3 /home/httpd/html/surfacegifs/#TPSL
>
>REM Mixing Ratio Flux Divergence and Gusts on 4
>SFCCON MIX #BASEMAP LATEST OUT=SAVE MYDATA/GRIDS.21
>SFCCON STREAML #BASEMAP LATEST OUT=SAVE MYDATA/GRIDS.21
>GRDDISP MYDATA/GRIDS.21 4 MAP=#BASEMAP G1='PARAM MIX' G2='PARAM U'
>G3='PARAM V' NEWPA
>R=MDVG GKGS SFC
>MATH='((G1*(DDX(G2)+DDY(G3))+G2*DDX(G1)+G3*DDY(G1))*36000)' CINT=5 DA
>SH=POS FORMAT=F4 COLOR=2
>
>SFCPLOT GUS OLAY LATEST COLOR=3 GRA=4 UNIT=KT
>BATCH 4 "MIXLABEL.BAT
>FRMSAVE 4 /home/httpd/html/surfacegifs/#MDVG
>
>REM Streamlines and Theta-e on 5
>SFCCON STREAML #BASEMAP LATEST GRA=5 CINT=3 COLOR=2
>SFCCON THAE #BASEMAP LATEST GRA=5 CMAP=0 COLOR=3 CINT=5 UNIT=K DASH=ALL
>BATCH 5 "THALABEL.BAT
>FRMSAVE 5 /home/httpd/html/surfacegifs/#THAE
>
>REM Create 3-hour Pressure Falls and Wind Vectors on 6
>SFCCON P3DIF #BASEMAP GRA=6 COLOR=2 DASH=POS CINT=0.5
>SFCPLOT WINDV OLAY LATEST GRA=6 COLOR=3
>BATCH 6 "PFLLABEL.BAT
>FRMSAVE 6 /home/httpd/html/surfacegifs/#PRFL
>
>REM Create a Four Panel Image for Various Divergence Parameter on 7
>PANEL 2 2 7 7
>
>REM This is Moisture Flux Divergence
>GRDDISP MYDATA/GRIDS.21 7 MAP=#BASEMAP G1='PARAM MIX' G2='PARAM U'
>G3='PARAM V' NEWPA
>R=MFDV GKGH SFC
>MATH='((G1*(DDX(G2)+DDY(G3))+G2*DDX(G1)+G3*DDY(G1))*36000)'CINT=10 DA
>SH=POS FORMAT=F4 PAN=1
>
>REM This is Moisture Advection
>GRDDISP MYDATA/GRIDS.21 7 MAP=#BASEMAP G1='PARAM MIX' G2='PARAM U'
>G3='PARAM V' NEWPA
>R=MADV GKGH SFC MATH='((G2*DDX(G1) + G3*DDY(G1))*36000)' DASH=POS CINT=2
>FORMAT=F4 PA
>N=2
>
>REM This is Moisture*Divergence
>GRDDISP MYDATA/GRIDS.21 7 MAP=#BASEMAP G1='PARAM MIX' G2='PARAM U'
>G3='PARAM V' NEWPA
>R=MDIV GKGH SFC MATH='((G1*(DDX(G2) + DDY(G3)))*36000)' DASH=POS CINT=5
>FORMAT=F4 PAN
>=3
>
>REM This is Mass Divergence
>GRDDISP MYDATA/GRIDS.21 7 MAP=#BASEMAP G1='PARAM MIX' G2='PARAM U'
>G3='PARAM V' NEWPA
>R=MASD PSPH SFC MATH='((DDX(G2) + DDY(G3))*360000)' DASH=POS CINT=10
>FORMAT=F4 PAN=4
>
>FRMSAVE 7 /home/httpd/html/surfacegifs/#PAN
Tom