Hi, I'm not sure what more to suggest. If you look at that file for time 21 with ncdump, is there anything different about the way the variable temp is specified? You might try one of these tools for creating the descriptor file that's listed in Chapter 10.4.1 of the Ferret documentation: http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/converting-to-netcdf/CREATING-A-MULTI-FILE-NETCDF-DATA-SET#_VPID_367 You give the tool a list of your files and it'll check their time information and write the .mc file. Ansley yangxing zheng wrote: Hi, Thank you for kind help. Ansley, I try your way, using repeat/l=1:22 shade temp it stops at l=21. It can not plot temp, however, if I plot u first, yes?shade u then I plot temp at l=21 again, yes?shade temp it works! It is really surpring to me about ferret working. P.S.: I using the individual cdf file (l=21), it has no problem to plot temp The following is what I try: yes? set region/k=1/x=110w:100w/x=10s:0 yes? repeat/l=1:22 shade temp ......... !-> REPEAT: L=15 !-> REPEAT: L=16 !-> REPEAT: L=17 !-> REPEAT: L=18 !-> REPEAT: L=19 !-> REPEAT: L=20 !-> REPEAT: L=21 ** netCDF error: Variable not found shade temp Command file, command group, or REPEAT execution aborted yes? set region/l=21 yes? shade temp ** netCDF error: Variable not found yes? shade u yes? shade temp ...... ------------------ Do you think it is a bug for ferret v5.70 Mac OS? --- Ansley Manke <Ansley.B.Manke@xxxxxxxx> wrote:Hi Yangxing, Accessing data in Ferret occurs in several stages. The command yes? set data test.mc reads the .mc file to see what's in there, and it uses that information to create the time axis. Then the first file is opened, and information about the other axes and the variables is stored from what's in that file. This is all that has happened at the point where you do a SHOW DATA command. The other stepfiles are opened and read only when data from them is required by the other commands - plot, shade, load, or other commands that produce an output. I wonder if one of the step files is missing the variable TEMP. Since you're seeing the error in the first 100 time steps, you could try: yes? cancel region yes? repeat/L=1:100 (shade/x=110w:80w/y=10s:10n/k=1 temp) And see if you hit an error message. yangxing zheng wrote:Thank all of you for prompt response. Now Iincludethe .mc file to diagnose what the problem is. --- Roman Tonkonojenkov <romantonk@xxxxxxx> wrote:Hi Yangxing, Maybe a stupid remark, but I had similar problemsinthe past and at least in one instance I was using the wrongcase(i.e. the variable was TEMP instead of temp). I don't think it is theissuewith 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 fromferret.The following is an example. The files arethere.Weshow data/variables, the variable temp exists.If Imake a plot by seting an individual l (set region/l=11), it works. But if I want to plottimeseries of temp, it says: ** netCDF error:Variablenotfound. But variable temp is obvious there. Also if Iplota time series of u and v (the grid is identicaltotemp), 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%ferretNOAA/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 IJ K L U Zonal Velocity 1:13761:937 1:19 1:425 cm/s on grid GFP1 with -9999 formissingdata X=180E:70W Y=35.1S:35.1N Z=-5:1050V Meridional Velocity 1:13761:937 1:19 1:425 cm/s on grid GFP1 with -9999 formissingdata X=180E:70W Y=35.1S:35.1N Z=-5:1050TEMP Temperature 1:13761:937 1:19 1:425 DegC on grid GFP1 with -9999 formissingdata X=180E:70W Y=35.1S:35.1N Z=-5:1050time range: 03-NOV-2003 00:00 to 31-DEC-200400:00yes? 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 followyouwith 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____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |