unnormal display
sh zhou
sh.maeam at GMAIL.COM
Sat May 9 23:34:56 EDT 2009
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090510/9d3ff2c9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: former.jpg
Type: image/jpeg
Size: 115458 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090510/9d3ff2c9/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after-changed.jpg
Type: image/jpeg
Size: 83437 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090510/9d3ff2c9/attachment-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOMAIN.CTL
Type: application/octet-stream
Size: 826 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090510/9d3ff2c9/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOMAIN.INFO
Type: application/octet-stream
Size: 1560000 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090510/9d3ff2c9/attachment-0001.obj
More information about the gradsusr
mailing list