[Thread Prev][Thread Next][Index]
[ferret_users] the role of comment/uncomment the command 'List'
- To: oar.pmel.ferret_users@xxxxxxxx
- Subject: [ferret_users] the role of comment/uncomment the command 'List'
- From: ferret ocean <ferretocean@xxxxxxxxx>
- Date: Thu, 31 Jan 2008 14:08:16 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DtefNlzLbICnewef6HlbKHLgT86dD1V4N6fI6WJyQQtFlHQGFU0NS4wFlHA7u84oW3teU4GLg1YPClQ29L0btEJMPZ/U/iA2NFVhGrjar3x4wKu10NZ2Nm5c4N7KscKAtlMyh06yWUbgdmhbpFphi3aklNPWmuuZzFlS7o2Rx4U=;
- Sender: owner-ferret_users@xxxxxxxx
hi, Ferreters,
It's a strange problem I got several times. Does the command 'List' impact on the later command?
I use model results in which Arawaka C-grid is used. Sometimes I have to regrid my results from density point to U or V point. In the following script, I get a variable 'tr', which is the volumn transport integrated from surface to density surface (36.21). It's so tricky when I comment/uncomment 'list tr' ( the command before the last line).
IF don't execute 'list tr', then get the following error messages:
**ERROR: illegal limits: X axis limits don't match variable def'n: TR
Are you giving explicit limits when SET REGION would suffice ?
list
tr[x=-24]
Command file, command group, or REPEAT execution aborted
IF execute 'list tr' before list tr[x=-24], then get
LONGITUDE: 24W(-24)
LATITUDE : 40.5S to 30.5S
DEPTH (m): 0 to 5200
TIME : 16-JAN-1982 11:00
17.396
I don't think the command 'List' can impact on the later results, but I can't explain this problem.
Dawn
use model.cdf
set reg/x=-62.5:-22.5/y=-40.5:-30.5
let lev1 = 36.21
let rho=rho_un(salt,temp,2000)-1000
let mask= if rho le lev1 then 1
let masku=mask[gx=u,x=-63:-22];
let u_upper=u[x=-63:-22]*masku
let masku=mask[gx=u,x=-63:-22];
let tr=u_upper[y=@din,k=@din,l=1]*1e-6;
!----------Attention--------
list tr
!-----------------------------
list tr[x=-24] ! only this number is what I really want.
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement