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 #81054 is a reply to message #81053] Mon, 13 August 2012 09:27 Go to previous messageGo to previous message
adhdunn is currently offline  adhdunn
Messages: 11
Registered: July 2012
Junior Member
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
[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: Fri Oct 10 15:12:44 PDT 2025

Total time taken to generate the page: 0.64799 seconds