[gradsusr] ctl file for irregular lon and lat dimension

wendi harjupa wendiharjupa at gmail.com
Fri Jun 21 04:09:52 EDT 2019


Dear Mr. Krishna

Thank you very much for your response and answer.

I will try it.

Best regards,
wendi

On Fri, Jun 21, 2019 at 12:43 PM krishnamohan <krishmet at gmail.com> wrote:

> Dear Wendi,
>
> If axis is irregular, you can use the 'levels' option to define the
> lat/lon values instead of minimum value and interval. Like
>
> XDEF 12 LEVELS 0 30 60 90 120 150 180 210 240 270 300 330
> XDEF 12 LEVELS 15 45 75 105 135 165 195 225 255 285 315 345
>
> http://cola.gmu.edu/grads/gadoc/descriptorfile.html#XDEF
>
> Attaching a sample control file which I used to open an irregular latitude
> spacing.
>
> Regards,
> Krishna
>
>
> On Thu, Jun 20, 2019 at 1:16 PM wendi harjupa <wendiharjupa at gmail.com>
> wrote:
>
>> Dear GrADS users,
>>
>> I need your help with this problem.
>> I have two-dimensional data, which have no linear resolution, such below;
>>
>> 1. The first, second, third and the last coordinate longitude data are
>> 21.2887,  121.29860, 121.30840 and 148.76140, respectively.
>> 2. The first, second, third and the last coordinate latitude data are
>> 22.70906, 22.70909, 22.70911 and
>> 46.19549, respectively.
>>
>> I want to make the control file for the data to plot it by grads,
>>
>> XDEF LEVEL 2800 121.28870  XXXX
>> YDEF LEVEL 2400 22.70906 YYYY
>>
>> What number should I use to change XXXX and YYYY?
>> and is there special command should I use to handle the irregular spatial
>> resolution?
>>
>> Very appreciate for your help.
>> Thank you very much.
>> Best regards,
>> wendi
>>
>>
>>
>>
>> On Wed, Jun 19, 2019 at 9:17 PM wendi harjupa <wendiharjupa at gmail.com>
>> wrote:
>>
>>> Dear GrADS user,
>>>
>>> I want to plot the data which has irregular lon and lat...
>>> I donot want to interpolate the data, so I just want to plot it as the
>>> original data.
>>>
>>> My question is how to make the control file for the irregular lon and
>>> lat data.
>>> I attach two data through this email,
>>> 1. asci data which shows the different of lon and lat of the data.
>>> 2. Binary format data of the asci data.
>>>
>>> Thank you very much for your help.
>>>
>>> best regards
>>> wendi
>>>  RDCA20150803_0305.bin
>>> <https://drive.google.com/file/d/1HDCQXO30JwIRCaxTL-H1pf6eibRvhTpp/view?usp=drive_web>
>>>  RDCA20150803_0305.txt
>>> <https://drive.google.com/file/d/1l0vSZLO0Z21aBlfuMLF2UJM02m0kXTtC/view?usp=drive_web>
>>>
>> _______________________________________________
>> 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/20190621/0ce6bb73/attachment.html>


More information about the gradsusr mailing list