kml question
Jennifer Adams
jma at COLA.IGES.ORG
Tue Feb 24 11:56:29 EST 2009
On Feb 24, 2009, at 11:37 AM, Bernd Becker wrote:
> This is sooo nice!
>
>
>
> After creating a nice image as described below:
> On Thu, 2009-02-19 at 09:32 -0500, Jennifer Adams wrote:
>> 'set parea 0 11 0 8.5'
>> 'set grid off'
>> 'set mproj scaled'
>> 'set x 0.5 720.5'
>> 'set y 0.5 381.5'
>> 'set mpdraw off'
>> 'set grads off'
>> 'd variable'
>> 'printim wibble.tiff gif white x720 y381'
This is not good syntax. You'll have a GIF File with a ".tiff"
extension. Use this instead:
'printim wibble.gif white x720 y381'
From the printim documentation:
If the filename ends with ".png" or ".PNG" then GrADS will
automatically create the image in PNG format
If the filename ends with ".gif" or ".GIF" then GrADS will
automatically create the image in GIF format
If the filename ends with ".jpg" or ".JPG" then GrADS will
automatically create the image in JPEG format
Remember that the printim image has to have the same aspect ratio as
the data grid for it to display properly with the KML file.
>>
>
> how would one make the wibble.kml file?
'set kml wibble'
'set gxout kml'
'd variable'
This gives you two files: wibble.tif and wibble.kml.
You can then edit wibble.kml and change the name of the image file in
the <href> tag to whatever you created with printim.
Jennifer
>
>
> Thanks very much.
> Bernd.
>
> --
> Bernd Becker The Monthly Outlook
> Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.com - http://www.metoffice.com
--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090224/440a59b6/attachment.html
More information about the gradsusr
mailing list