[Thread Prev][Thread Next][Index]

Re: [ferret_users] problem in reading .mc files.



Thank all of you for prompt response. Now I include
the .mc file to diagnose what the problem is.
--- Roman Tonkonojenkov <romantonk@xxxxxxx> wrote:

> Hi Yangxing,
> 
> Maybe a stupid remark, but I had similar problems in
> the past and 
> at least in one instance I was using the wrong case
> (i.e. the variable was
> TEMP instead of temp). I don't think it is the issue
> with you,
> but at least try it 
> Cheers,
> Roman
> 
> On Tue, Nov 13, 2007 06:39 PM, yangxing zheng
> <yangxingz@xxxxxxxxx> wrote:
> >
> I have a problem about reading mc file from ferret.
> >The following is an example. The files are there.
> We
> >show data/variables, the variable temp exists. If I
> >make a plot by seting an individual l (set
> >region/l=11), it works. But if I want to plot time
> >series of temp, it says: ** netCDF error: Variable
> not
> >found.
> >    But variable temp is obvious there. Also if I
> plot
> >a time series of u and v (the grid is identical to
> >temp), it does work! Do you think what the major
> >problem is? I attached the .mc file to you as a
> >reference.
> >
> >       [mac35:yzheng/HYCOM/Pacific] yzheng% ferret
> >        NOAA/PMEL TMAP
> >        FERRET v5.70 (alpha)
> >        Mac OS X 10.3.4 - 10/08/04
> >        13-Nov-07 16:08    
> >
> >yes? set data test.mc
> >yes? show data/variables
> >     currently SET data sets:
> >    1> ./test.mc  (default)
> >     HYCOM-NCODA Assimilation Run NOGAPS
> > name     title                             I      
>  
> >J         K         L
> > U        Zonal Velocity                   1:1376  
> 
> >1:937     1:19      1:425
> >             cm/s on grid GFP1 with -9999 for
> missing
> >data
> >             X=180E:70W  Y=35.1S:35.1N  Z=-5:1050 
> > V        Meridional Velocity              1:1376  
> 
> >1:937     1:19      1:425
> >             cm/s on grid GFP1 with -9999 for
> missing
> >data
> >             X=180E:70W  Y=35.1S:35.1N  Z=-5:1050 
> > TEMP     Temperature                      1:1376  
> 
> >1:937     1:19      1:425
> >             DegC on grid GFP1 with -9999 for
> missing
> >data
> >             X=180E:70W  Y=35.1S:35.1N  Z=-5:1050 
> > 
> >  time range: 03-NOV-2003 00:00 to 31-DEC-2004
> 00:00
> > 
> >yes? set region/l=12
> >yes? yes? set region/x=110w:80w/y=10s:10n/k=1
> >yes? yes? fill temp
> >yes? set region/l=1:100/i=100/j=700/k=1
> >yes? yes? plot temp
> > ** netCDF error: Variable not found
> >yes? plot u
> >yes? plot v
> >
> >----------------------------
> >
> >
> >     
>
>____________________________________________________________________________________
> >Be a better sports nut!  Let your teams follow you 
> >with Yahoo Mobile. Try it now. 
>
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
> >
> >
> >
> 
> 


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Attachment: test.mc
Description: 1382937326-test.mc


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement