exporting floats [message #72162] |
Thu, 19 August 2010 07:45  |
matin
Messages: 3 Registered: August 2010
|
Junior Member |
|
|
It may sound easy, but i don't figure out how it works.
I want to export a floating point variable I produced in IDL to use it
in a GIS. Everything I export through the iTools ends in integers, but
I need to keep the original float values!
who can help me?
Martin
|
|
|
Re: exporting floats [message #72251 is a reply to message #72162] |
Thu, 19 August 2010 12:35  |
matin
Messages: 3 Registered: August 2010
|
Junior Member |
|
|
On 19 Aug., 20:44, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Aug 19, 3:23 pm, matin <mar...@bier-mail.de> wrote:
>
>> I want to make a floating point file i can use in a GIS, preferably a
>> Tiff.
>> Let's say I have some Tiffs with NDVI values (0-1). I import them in
>> IDL, make some calculations, and get a new variable I want to export
>> to my GIS. But I need floating point grids.
>> Or another example: I import a variable of a ncdf with floating point
>> values. I shift it, and want to export it so I can use it in the GIS..
>
> It seems you may be looking for the float (or double) keyword to
> write_tiff.
exactly, thanks a lot!
|
|
|
Re: exporting floats [message #72252 is a reply to message #72162] |
Thu, 19 August 2010 11:44  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Aug 19, 3:23 pm, matin <mar...@bier-mail.de> wrote:
> I want to make a floating point file i can use in a GIS, preferably a
> Tiff.
> Let's say I have some Tiffs with NDVI values (0-1). I import them in
> IDL, make some calculations, and get a new variable I want to export
> to my GIS. But I need floating point grids.
> Or another example: I import a variable of a ncdf with floating point
> values. I shift it, and want to export it so I can use it in the GIS..
It seems you may be looking for the float (or double) keyword to
write_tiff.
|
|
|
Re: exporting floats [message #72254 is a reply to message #72162] |
Thu, 19 August 2010 11:23  |
matin
Messages: 3 Registered: August 2010
|
Junior Member |
|
|
On 19 Aug., 19:24, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Aug 19, 11:45 am, matin <mar...@bier-mail.de> wrote:
>
>> It may sound easy, but i don't figure out how it works.
>> I want to export a floating point variable I produced in IDL to use it
>> in a GIS. Everything I export through the iTools ends in integers, but
>> I need to keep the original float values!
>> who can help me?
>
> You need to say more about what kind of file you want to make.
I want to make a floating point file i can use in a GIS, preferably a
Tiff.
Let's say I have some Tiffs with NDVI values (0-1). I import them in
IDL, make some calculations, and get a new variable I want to export
to my GIS. But I need floating point grids.
Or another example: I import a variable of a ncdf with floating point
values. I shift it, and want to export it so I can use it in the GIS..
|
|
|
Re: exporting floats [message #72256 is a reply to message #72162] |
Thu, 19 August 2010 10:24  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Aug 19, 11:45 am, matin <mar...@bier-mail.de> wrote:
> It may sound easy, but i don't figure out how it works.
> I want to export a floating point variable I produced in IDL to use it
> in a GIS. Everything I export through the iTools ends in integers, but
> I need to keep the original float values!
> who can help me?
You need to say more about what kind of file you want to make.
|
|
|