Re: too many variables in nc file

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 16 2012 - 16:02:55 MDT

Hongyan,

Isn't this the same file you gave me earlier that I sent you a plot of offline?

I was able to open this file using NCL versions 6.0.0 and 6.1.0-beta with no problem.

The one you gave me has 85 variables on it:

ncl 0> a = addfile("ANN2005-2014.taijlE2005faa01.nc","r")
ncl 1> vnames = getfilevarnames(a)
ncl 2> print("There are " + dimsizes(vnames) + " variables on this file.")
(0) There are 85 variables on this file.
ncl 3>

--Mary

On Aug 16, 2012, at 3:57 PM, H.Dang wrote:

> Hi Wei,
>
> Thanks for your quick response. Following is the information of the NCL here:
>
> Copyright (C) 1995-2010 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.2.0
>
> So I'll see if we can upgrade it or not.
>
> Thanks,
> Hongyan
> On Thu, Aug 16, 2012 at 5:53 PM, Wei Huang <huangwei@ucar.edu> wrote:
> Hongyan,
>
> It seems you are using an old version of NCL.
> If you are using 6.0.0, or 6.1.0-beta, there should not have such problem.
>
> Wei
>
> huangwei@ucar.edu
> VETS/CISL
> National Center for Atmospheric Research
> P.O. Box 3000 (1850 Table Mesa Dr.)
> Boulder, CO 80307-3000 USA
> (303) 497-8924
>
>
>
>
>
>
> On Aug 16, 2012, at 3:35 PM, H.Dang wrote:
>
>> Hi dear all,
>>
>> I met a problem when open an nc file. The error message is:
>>
>> fatal:The file (../DATA/E2005faa01/ANN2005-2014.taijE2005faa01.nc) contains (5921) variable which exceeds the number of allowable variables (2048),
>> fatal:Either file (f1) isn't defined or variable (lat) is not a variable in the file
>> fatal:Execute: Error occurred at or near line 13 in file extract_pm_2005faa01.ncl
>>
>> There are too many variables in my file, is there a prompt way to solve this problem in NCL other than extract the variables that I need?
>>
>> Thank you and have a nice day.
>>
>> Hongyan
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 16 16:03:10 2012

This archive was generated by hypermail 2.1.8 : Thu Aug 23 2012 - 16:16:15 MDT