[gradsusr] Problem displaying a variable?

Rashed Mahmood rashidcomsis at gmail.com
Mon Sep 13 02:33:53 EDT 2010


Dear John
  Thanks
It is not a forecast file. 192 time steps are the decadal climatologies for
12 months. It means that aerosols are averaged decadely for each month of a
year. it starts like from 1950s and ends for 2000.
for information the ctlinfo file has been attached in .bmp format since
I could not copy the information in the GrADS version 2.5.

Regards
Rashed

On Sun, Sep 12, 2010 at 9:45 PM, Huddleston, John <
Huddleston at cira.colostate.edu> wrote:

>  Rashed
>
> Your control file probably looks something like
> dset aerosol_climatology.nc
> dtype netcdf
> title Aerosol data
> undef -999.
> xdef 96 linear 0.   1.0
> ydef 80 linear 0.   1.0
> zdef 14 linear 1 2 3 4 5 6 7 8 9 10 11 12 13 14
> tdef 192  linear 00:00Z12sep2010 1hr
> vars 1
> anthro_dust_0.1=>dust 0 t,z,y,x dust
> endvars
>
> It looks like a forecast file since it is 192 hours. I just picked 1.0
> degrees and (0,0) not knowing where it is centered.
>
> Send your control file.  What is the exact message coming out of GrADS?
>
> John
>
>  ------------------------------
>  *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
> Behalf Of Rashed Mahmood [rashidcomsis at gmail.com]
> *Sent:* Saturday, September 11, 2010 4:20 PM
>
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] Problem displaying a variable?
>
>    Dear John
> I don't know exactly from where the file was downloaded (I copied it from
> someone).
> and the size of the file is too large to be attached.
> Attached is the ncdump of the file.
>
> By the way, using NCL I just came to know that we can display the variable
> as:
>
> in1=addfile("/mnt/storage-space/disk1/lshl/khan/aerosol.climatology.nc
> ","r")
>
> var = "anthro_dust_0.1"
>   d1  = in1->$var$
> So I think the problem can be solved using NCL. However thanks for
> your timely help.
>
> Rashed
>
>
>
>
>
>
> On Sun, Sep 12, 2010 at 4:21 AM, Huddleston, John <
> Huddleston at cira.colostate.edu> wrote:
>
>>  Rashed
>>
>> Send me a link to where you downloaded the data so I can see the file.
>>
>> John
>>  ------------------------------
>>  *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
>> Behalf Of Rashed Mahmood [rashidcomsis at gmail.com]
>> *Sent:* Saturday, September 11, 2010 8:16 AM
>> *To:* GrADS Users Forum
>> *Subject:* Re: [gradsusr] Problem displaying a variable?
>>
>>    Hi John
>> Thanks for your idea.
>> But the problem is that the file has 22 variables for different kinds of
>> aerosols.
>> and I dont want to seperate them as it is necessity to keep all the
>> variables together.
>>
>> any further suggestions?
>>
>> Rashed
>>
>> On Sat, Sep 11, 2010 at 8:28 PM, Huddleston, John <
>> Huddleston at cira.colostate.edu> wrote:
>>
>>>  Rashed
>>>
>>> Set the name in the control file to be something like
>>>
>>> anthro_dust_0.1=>var  0 t,y,x aerosol dust
>>>
>>> then 'd var' at the GrADS prompt
>>>
>>> John Huddleston
>>>  ------------------------------
>>> *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
>>> Behalf Of Rashed Mahmood [rashidcomsis at gmail.com]
>>> *Sent:* Saturday, September 11, 2010 4:47 AM
>>> *To:* GrADS Users Forum
>>> *Subject:* [gradsusr] Problem displaying a variable?
>>>
>>>    Hi all
>>>
>>> I have been trying to display a variable *anthro_dust_0.1* in an
>>> aerosol.nc file using GrADS but it gives error: *invalid variable name.*
>>> I guess that the problem is with the 0.1 used with variable name but I
>>> dont know how to deal with it.
>>>
>>> Any suggestion?
>>>
>>> Thanks
>>>
>>> Rashed
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100913/1d3d6e4e/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctl_aerosol.bmp
Type: image/bmp
Size: 1021282 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100913/1d3d6e4e/attachment-0003.bmp 


More information about the gradsusr mailing list