unnormal display
Colleen Mikovitz
j.c.mikovitz at NASA.GOV
Mon May 11 08:36:31 EDT 2009
Dear Sh Zhou,
On first glance at your program, it looks like you are replacing part
of your array with the value of 5000. If you have not specifically
set the contour levels in GrADS, then it is choosing the levels for
you. In your map labeled "former", the contour interval is 200, while
in the "after-changed", the interval is 500 (to accommodate the new
value of 5000) . You can choose your contour levels with "set clevs"
to show your original contours.
Colleen
On May 9, 2009, at 11:34 PM, sh zhou wrote:
>
> Hi All,
>
> Did someone come across a problem like this: when wrote data back ,
> the display changed unnormal in Grads? because many "contour lines"
> disappeared , Can you tell me why? Please help me, thank you.
>
> In accessory , there are some files of my data and pictures. Please
> have a look, the code I used as following :
>
> ###
> program read_DOMAIN_INFO
> implicit none
> integer jx,iy,i,j
> ! real yy,xx,z
> parameter (iy=110,jx=140)
> real ht(jx,iy)
> open(10,file='DOMAIN.INFO',form='unformatted'
> $ ,recl=jx*iy*4, access='direct',convert='big_endian') !
> replace 4 to 1 if IFC, I use PGI
>
> read(10,rec=2) ht
>
> do i=65,75
>
> ht(i,30) = 5000.
> ht(i,55)=5000.
> enddo
>
> write(10,rec=2) ht
>
> print *, 'end of program'
> close(10)
>
> end
> ###
>
> Sincerely.
>
>
>
>
> <former.jpg><after-changed.jpg><DOMAIN.CTL><DOMAIN.INFO>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090511/6c86ffb9/attachment.html
More information about the gradsusr
mailing list