[gradsusr] Error while plotting the data
Geeta Geeta
geetag54 at yahoo.com
Fri Apr 19 06:29:23 EDT 2013
Hi
I am using ARWpost as the post processor for WRF O/P.
I am able to run ARWpost successfully. I have got dat and ctl files.
while plotting................ this is the error
bash-3.2$ gradsc
Grid Analysis and Display System (GrADS) Version 1.8SL11
Copyright (c) 1988-2001 by Brian Doty
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society
All Rights Reserved
Config: v1.8SL11 32-bit big-endian readline printim
Issue 'q config' command for more information.
Landscape mode? (no for portrait):
GX Package Initialization: Size = 11 8.5
ga-> open wrf_d01_2011-04-22_00.ctl
Scanning description file: wrf_d01_2011-04-22_00.ctl
Open Error: Can't open binary data file
File name = wrf_d01_2011-04-22_00.dat
ga->
ga->
The binary file is not OPENED.
2. I then edited the ctl file by adding the
OPTIONS TEMPLATE.
ga-> reinit
No hardcopy metafile open
All files closed; all defined objects released
All GrADS attributes have been reinitialized
ga-> open wrf_d01_2011-04-22_00.ctl
Scanning description file: wrf_d01_2011-04-22_00.ctl
Data file wrf_d01_2011-04-22_00.dat is open as file 1
LON set to 76.0159 78.9841
LAT set to 12.0253 13.9709
LEV set to 1000 1000
Time values set: 2011:4:22:0 2011:4:22:0
ga-> set lev 850
LEV set to 850 850
ga-> d U;V
Cannot draw vectors/barbs -- U field all undefined
ga->
IT is not aplotting anything.
Pls suggest
geeta
________________________________
From: "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org>
To: gradsusr at gradsusr.org
Sent: Friday, 15 March 2013 6:41 AM
Subject: gradsusr Digest, Vol 37, Issue 33
Send gradsusr mailing list submissions to
gradsusr at gradsusr.org
To subscribe or unsubscribe via the World Wide Web, visit
http://gradsusr.org/mailman/listinfo/gradsusr
or, via email, send a message with subject or body 'help' to
gradsusr-request at gradsusr.org
You can reach the person managing the list at
gradsusr-owner at gradsusr.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gradsusr digest..."
Today's Topics:
1. Re: ammended script (Eric Altshuler)
2. WRF Output Error on GrADS -Entire Grid Undefined
(Khetsiwe Khumalo)
3. WRF Output Error on GrADS -Entire Grid Undefined
(Khetsiwe Khumalo)
----------------------------------------------------------------------
Message: 1
Date: Thu, 14 Mar 2013 18:22:31 -0400 (EDT)
From: Eric Altshuler <ela at cola.iges.org>
Subject: Re: [gradsusr] ammended script
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
<997448472.16761.1363299751430.JavaMail.root at mail.iges.org>
Content-Type: text/plain; charset="utf-8"
Hi kaikombo,
Here are a few script changes you should make:
1. remove the lines 'set x 1 144' and 'set y 1 73'
2. change 'set lon 0 360' to 'set lon -180 180'
3. move your sdfopen commands (uwnd and vwnd) outside the while loop--it's unnecessary to open these files every time through the loop
4. remove the 'reinit' command that's inside the while loop
5. remove 'disable sdfwrite', this is an invalid command
Best regards,
Eric L. Altshuler
Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA
E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793
----- Original Message -----
From: "kombo kai" <kaikombo at yahoo.com>
To: gradsusr at gradsusr.org
Sent: Wednesday, March 13, 2013 12:39:15 AM
Subject: [gradsusr] ammended script
I have write the filed for the vorticity at each level using the NCEP u and v winds.
but when I plot these files at the lon and lat of my interest it leaves a verticle strip at lon 0
any one can help on I how to remove this strip?.
I have attached the image which I have plotted.
this is my script
'reinit'
'c'
lev.1=925
lev.2=850
lev.3=700
lev.4=600
lev.5=500
lev.6=400
lev.7=300
lev.8=250
lev.9=200
lev.10=150
lev.11=100
levcount=1
while(levcount<=11)
lev=lev.levcount
say lev
'sdfopen d:/vorticity/uwnd.mon.mean.nc'
'sdfopen d:/vorticity/vwnd.mon.mean.nc'
'set lon 0 360'
'set lat -90 90'
'set t 1 778'
'set lev 'lev
'set x 1 144'
'set y 1 73'
'vort=hcurl(uwnd,vwnd.2)'
'set sdfwrite d:/vorticity2/'lev'_vorty.nc'
'sdfwrite vort'
'reinit'
levcount=levcount+1
endwhile
'disable sdfwrite'
'reinit'
sdfopen d:/vorticity2/850_vorty.nc
set lon -70 120
set lat -45 45
set t 30
set gxout shaded
d vort
plsease find the attaced image which I get
regards
kaikombo
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130314/6921288f/attachment-0001.html
------------------------------
Message: 2
Date: Fri, 15 Mar 2013 01:11:12 +0000 (GMT)
From: Khetsiwe Khumalo <theregoesthecat at yahoo.co.uk>
Subject: [gradsusr] WRF Output Error on GrADS -Entire Grid Undefined
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>, GrADS Users Forum
<gradsusr at gradsusr.org>
Message-ID:
<1363309872.76109.YahooMailNeo at web171705.mail.ir2.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear GrADS users
I am trying to display WRF output on GrADS and I get an Error - Entire Grid Undefined for all variables
WRF was run successfull, with no errors.
Attached is my ctl file.?
I have tried doing the trouble shooting provided in the WRF manual (removing the second line option byteswapped ) but with no success.
Is there anyone who could know what is the problem?
Thank in advance
Khetsiwe
"Every human being represents hands to work, and not just another mouth to feed. ..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130315/3725a74d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ctl
Type: application/octet-stream
Size: 10949 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130315/3725a74d/attachment.obj
------------------------------
Message: 3
Date: Fri, 15 Mar 2013 01:11:12 +0000 (GMT)
From: Khetsiwe Khumalo <theregoesthecat at yahoo.co.uk>
Subject: [gradsusr] WRF Output Error on GrADS -Entire Grid Undefined
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>, GrADS Users Forum
<gradsusr at gradsusr.org>
Message-ID:
<1363309872.76109.YahooMailNeo at web171705.mail.ir2.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear GrADS users
I am trying to display WRF output on GrADS and I get an Error - Entire Grid Undefined for all variables
WRF was run successfull, with no errors.
Attached is my ctl file.?
I have tried doing the trouble shooting provided in the WRF manual (removing the second line option byteswapped ) but with no success.
Is there anyone who could know what is the problem?
Thank in advance
Khetsiwe
"Every human being represents hands to work, and not just another mouth to feed. ..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130315/3725a74d/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ctl
Type: application/octet-stream
Size: 10949 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130315/3725a74d/attachment-0001.obj
------------------------------
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
End of gradsusr Digest, Vol 37, Issue 33
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130419/de81d50a/attachment-0003.html
More information about the gradsusr
mailing list