comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Write a GeoTiff
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Write a GeoTiff [message #88556 is a reply to message #88555] Mon, 12 May 2014 12:49 Go to previous messageGo to previous message
lhashemi is currently offline  lhashemi
Messages: 9
Registered: February 2014
Junior Member
On Monday, May 12, 2014 3:44:09 PM UTC-4, David Fanning wrote:
> lhashemi@g.harvard.edu writes:
>
>
>
>> these are the lines:
>
>>
>
>> LandCover = READ_TIFF('C:\SWE\Data\ssmis\LandCoverSSMIS.tif', GEOTIFF=GeoKeys)
>
>> filename = 'C:\SWE\Data\ssmis\SSMIS_SWE2.tif'
>
>> TIFF_write, filename, SWE, GEOTIFF=GeoKeys
>
>>
>
>> LandCover and SWE both have same dimension: [868,1042]
>
>
>
> Well, since you aren't using a FLOAT keyword in this command, I would
>
> say the problem is you haven't recompiled this piece of code from the
>
> last time you DID use a FLOAT keyword in this command.
>
>
>
> In other words, you aren't running the code you think you are running.
>
> :-)
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

you are right, because my value are float,I used : TIFF_write, filename, SWE, /Float, GEOTIFF=GeoKeys . it gives same error " "Keyword FLOAT not allowed in call to: TIFF_WRITE" , I deleted "/float" the message become " Keyword GeoKeys not allowed in call to: TIFF_WRITE". when I delete both /float and GeoKeys keywords, it creates a tif file not GeoTiff. I want to creat Geotiff file.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to shade region of 2-D plot
Next Topic: Nearest-neighbor interpolation and steepest-descent method

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:09:34 PDT 2025

Total time taken to generate the page: 0.00475 seconds