[gradsusr] No hardcopy metafile open
Stephen McMillan
smcmillan at planalytics.com
Mon Aug 10 11:26:44 EDT 2015
Imran,
If you put quotes around the output files, you should see your desired
output. For example,
res=write('Melreg.txt',rc)
Also, unless your data is on a .01 degree grid, your output will be to the
nearest grid point, not the lon and lat specified. For interpolation,
please see Documentation Index for "lterp" or "gr2stn" if you have not
already done so.
Stephen Mc
On Mon, Aug 10, 2015 at 10:22 AM, Md Hosen <md.hosen at live.vu.edu.au> wrote:
> Hi Stephen,
>
> Thanks for your prompt reply. In the text files I am not getting any
> expected output values. Only it shows as follows:
>
> Interpolation
>
> Interpolation
>
> .......................
>
> .......................
>
> so on
>
> Any further suggestion please.
>
> Kind regards,
>
> Imran
>
> ------------------------------
> *From:* gradsusr-bounces at gradsusr.org <gradsusr-bounces at gradsusr.org> on
> behalf of Stephen McMillan <smcmillan at planalytics.com>
> *Sent:* 10 August 2015 23:32:38
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] No hardcopy metafile open
>
> Imran,
>
> I don't see that it's a problem. Did you not get the extracted output you
> expected?
>
> What you present as an error actually is not. They are informational only.
>
> Stephen
>
> On Mon, Aug 10, 2015 at 9:14 AM, Md Hosen <md.hosen at live.vu.edu.au> wrote:
>
>> Dear GRADS users,
>>
>>
>> Good day!
>>
>>
>> I am totally new with GRADS. The following sample script is my first try
>> to extract Temperature data from wrfoutput.
>>
>>
>>
>> 'reinit'
>> 'open feb2000.ctl'
>>
>> i=1
>> while (i<=73)
>> 'set t 'i
>>
>> ********************************corrected lat&lon***
>> 'set lon 144.97'
>> 'set lat -37.81'
>> 'd t2-272.15'
>> rc=subwrd(result,4)
>> res=write(Melreg.txt,rc)
>> *************************************************
>> 'set lon 144.76'
>> 'set lat -37.86'
>> 'd t2-272.15'
>> rc=subwrd(result,4)
>> res=write(Raaf.txt,rc)
>> ********************************
>> 'set lon 145.10'
>> 'set lat -37.98'
>> 'd t2-272.15'
>> rc=subwrd(result,4)
>> res=write(Moorabbin.txt,rc)
>> **********************************
>> i=i+1
>> endwhile
>> return
>>
>>
>> After running this script, I am getting the following error message:
>>
>>
>>
>>
>>
>>
>> *No hardcopy metafile open All files closed; all defined objects
>> released; All GrADS attributes have been reinitialized Notice: Implied
>> interpolation for file feb2000.ctl Interpolation will be performed on any
>> data displayed from this file*
>>
>>
>> Even, if I type 'reinit' in the command line, I am getting same error
>> message as follows:
>>
>>
>> ga-> reinit
>> No hardcopy metafile open
>> All files closed; all defined objects released;
>> All GrADS attributes have been reinitialized
>>
>>
>> Could you please give any instruction to solve the problem. Your
>> cooperation will be highly appreciated.
>>
>>
>> Kind regards,
>>
>> Imran
>>
>>
>>
>>
>> _______________________________________________
>> 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/20150810/919ea6b7/attachment.html
More information about the gradsusr
mailing list