Color legend in horizontal / vertical position (cbarn)

Antoy Chang antoyc at YAHOO.COM
Wed Feb 4 20:04:15 EST 2009


Hi everybody,
I have problem when displaying the 2 wave forecast using exactly the same script but different color bar position (using cbarn) one is placed horizontally while the other vertically. How to solve this?, i want to place both vertically, the print area is exactly the same on both display. Why this inconsistency happen?. Really appreciate your feedback.Thank You.
 
p/s : Look at the attached files.
 
--- On Wed, 2/4/09, Madhusoodanan M.S. <madhusoodanan at GMAIL.COM> wrote:

From: Madhusoodanan M.S. <madhusoodanan at GMAIL.COM>
Subject: Re: error in ctl file
To: GRADSUSR at LIST.CINECA.IT
Date: Wednesday, February 4, 2009, 10:11 PM




hi,

your script appears to have some problems.

check the header of taux.cdf (ncdump -h taux.cdf ==> it will give nx and ny.)

'set x 129.5 320.5'   ==> ??? longitude will vary from 0 359.5 (if global) 
that means x will vary from 1 720 and
                 y              from 1 361 (if from 90S to 90N)

.ctl file to read the tauxobs.grd should be correctly made then.

cheers,
Madhu



 







 
'reinit'
'sdfopen taux.cdf'
'set gxout fwrite'
'set fwrite tauxobs.grd'
'set x 129.5 320.5' 
'set y 121.5 171.5' 
'set z 1'
'set t 1 24'
'd taux'
'disable fwrite'
 
and the data length in tauxobs.grd is 193*52*24*4, where nx=193, ny=52, and t=24,
so, where is the error in file i am not getting it, that is it display the variable for only time t=1, not for the other time,
please help me.
 
with redgards
 
anushri






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090204/dd33d41a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fng009.gif
Type: image/gif
Size: 53703 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090204/dd33d41a/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fng008_2.gif
Type: image/gif
Size: 44128 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090204/dd33d41a/attachment-0001.gif 


More information about the gradsusr mailing list