ZDEF

Jennifer M. Adams jma at COLA.IGES.ORG
Tue Oct 31 14:31:31 EST 2006


On Oct 31, 2006, at 1:16 PM, Mateus da Silva Teixeira wrote:

> Jennifer,
>
> I use the 'OPTION zrev', but it made my profile inverted, like the
> graphic attached.
> So, I think that isn't works.
Hmm.
You'd have to add 'set yflip' to your script to get your profiles to  
draw properly.
So, in the end, which is the greater nuisance: ZDEF levels, or 'set  
yflip'?
Jennifer




>
> Mateus
>
> Jennifer M. Adams escreveu:
>>
>> On Oct 31, 2006, at 12:29 PM, Mateus da Silva Teixeira wrote:
>>
>>> Dear Jennifer,
>>>
>>> Please, think about a situation in which you have 1,000 vertical  
>>> levels.
>>> Should I write all these 1,000 levels explicitly? Why should I  
>>> made this
>>> if there is a easier way to do the same thing?
>> I agree that descriptor files can get lengthy when using the "LEVELS"
>> option with high-res data, but sometimes it is unavoidable. It would
>> take about 4-5 lines of code in a GrADS script to write 1000 level
>> values in a text file.
>> Did the 'OPTIONS zrev' trick work?
>>
>>> By the way, if it should not be used, why it continues into the  
>>> on-line
>>> GrADS documentation? Remember that GrADS have a lot of new users  
>>> that
>>> use intensively that documentation and the experienced users use  
>>> that as
>>> reference.
>> Ah, that is an oversight. I have just fixed it.
>>
>> Jennifer
>>
>>
>>>
>>> Mateus
>>>
>>>
>>> Jennifer M. Adams escreveu:
>>>> If you must use 'ZDEF linear', try this:
>>>> ZDEF 19 linear 100 50
>>>> OPTIONS zrev
>>>>
>>>> What's wrong with the 'ZDEF 19 levels ...' option you wrote out?
>>>> Why complain when you've got something that works?
>>>>
>>>> The bugs regarding bad ZDEF entries were in the older versions that
>>>> allowed a negative or zero increment. Non-positive grid increments
>>>> cause problems in a few different places in the code, places you  
>>>> might
>>>> not necessarily visit during a normal GrADS session.
>>>>
>>>> Jennifer
>>>>
>>>> On Oct 30, 2006, at 11:41 AM, Mateus da Silva Teixeira wrote:
>>>>
>>>>> Dear GrADS users,
>>>>>
>>>>> I'm not sure if it is a bug or is a problem with my CTL files, but
>>>>> always that try to use negative increments in ZDEF, like
>>>>> ZDEF 19 LINEAR 1000 -50
>>>>> I get the following error:
>>>>>
>>>>> Open Error:  Missing or invalid dimension increment value
>>>>>  --> The invalid description file record is:
>>>>>  --> ZDEF 19 LINEAR 1000 -50
>>>>>
>>>>>  The data file was not opened.
>>>>>
>>>>> But when replace the above ZDEF line by this
>>>>> ZDEF 19 LEVELS 1000 950 900 850 800 750 700 650
>>>>>            600 550 500 450 400 350 300 250 200
>>>>>            150 100
>>>>>
>>>>>
>>>>> It works. I'm using the version v1.9b4 32-bit. However, when  
>>>>> using the
>>>>> version v1.8s11, any error do occur with negative increment in the
>>>>> CTL file.
>>>>> Is this a bug of the new version?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Mateus
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________________
>>>>> Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu
>>>>> celular. Registre seu aparelho agora!
>>>>> http://br.mobile.yahoo.com/mailalertas/
>>>>>
>>>>
>>>> Jennifer M. Adams
>>>> IGES/COLA
>>>> 4041 Powder Mill Road, Suite 302
>>>> Beltsville, MD 20705
>>>> jma at cola.iges.org <mailto:jma at cola.iges.org>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________________
>>> Você quer respostas para suas perguntas? Ou você sabe muito e quer
>>> compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
>>> http://br.answers.yahoo.com/
>>>
>>
>> Jennifer M. Adams
>> IGES/COLA
>> 4041 Powder Mill Road, Suite 302
>> Beltsville, MD 20705
>> jma at cola.iges.org <mailto:jma at cola.iges.org>
>>
>>
>>
>
> <profile.png>

Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Beltsville, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20061031/b7b68222/attachment.html 


More information about the gradsusr mailing list