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

Home » Public Forums » archive » Re: Why is my code truncating my image dimensions?
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: Why is my code truncating my image dimensions? [message #81053 is a reply to message #81052] Mon, 13 August 2012 11:19 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Monday, August 13, 2012 6:27:58 PM UTC+2, adh...@gmail.com wrote:
> Hi Helder,
>
>
>
> Thank you for your response! I have inserted your suggested change, however this particular program works off of several separate programs. Another section of code follows. This one will also need to be changed as well and simply replacing the 3 with a 4 is not working. Do you have a suggestion as to how this line should be altered to accommodate the new text you suggested?
>
>
>
> FORMAT = '(I3,3(/,I3),/,F6.3,/,F8.3,/,A100,4(/,F5.1))',nmx,nmy,nx,ny, lat1,lon1,fname1,$
>
> TM_lat_ul,TM_lat_ll,TM_lon_ul,TM_lon_ll
>
>
>
> Thank you!
>
>
>
>>
>
>> Hi,
>
>>
>
>> although I have no experience with such images, my first guess is that you need to change the FORMAT in the READF command.
>
>>
>
>> Using '(I3)' will read 3 digits of integer numbers. I would put a I4. Can you check what comes up by doing that?
>
>>
>
>> Therefore try with: FORMAT = '(I4,/,I4,2(/,I4),25(/,A100),/,A100)'
>
>>
>
>> (I have not tested this...!!!)
>
>>
>
>> Cheers,
>
>>
>
>> Helder

Sorry, I don't because I don't know how the file header actually looks like.
But I do think that you're having a problem with truncation in the format line.

If you send me the first four or five header lines I can have a go at it. I'm not into satellite images, therefore I can't find such information quickly.

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget event structure doesn't tranfer
Next Topic: Why is my code truncating my image dimensions?

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

Current Time: Wed Oct 08 16:02:16 PDT 2025

Total time taken to generate the page: 0.00220 seconds