/[MITgcm]/MITgcm_contrib/netcdf_matlab_examples/king/raw_files/READ_GRIDDED.f
ViewVC logotype

Annotation of /MITgcm_contrib/netcdf_matlab_examples/king/raw_files/READ_GRIDDED.f

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Dec 30 05:10:00 2003 UTC (21 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
 o initial check-in

1 edhill 1.1 ! program to read TOPEX/POSEIDON gridded ssh (cm)
2    
3     parameter (mlon=721,mlat=361)
4     real ssh(mlon,mlat)
5     character fin*80
6     read(5,'(a)')fin
7     write(6,'(a)')fin
8    
9     open(10,file=fin,form='unformatted',status='old')
10    
11     read(10)nlon,nlat,ylatmi,ylatma,xlonmi,xlonma
12     read(10)((ssh(i,j),i=1,nlon),j=1,nlat)
13    
14     write(6,*)nlon,nlat,ylatmi,ylatma,xlonmi,xlonma
15     write(6,*)(ssh(i,33),i=1,nlon)
16    
17     stop
18     end

  ViewVC Help
Powered by ViewVC 1.1.22