- Timestamp:
- Mar 26, 2009, 1:30:23 PM (16 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/dyn3d/guide.F
r1046 r1135 3 3 ! 4 4 subroutine guide(itau,ucov,vcov,teta,q,masse,ps) 5 6 use netcdf 5 7 6 8 IMPLICIT NONE … … 225 227 c lecture d'un fichier netcdf pour determiner le nombre de niveaux 226 228 if (guide_modele) then 227 if (ncidpl.eq.-99) ncidpl=NCOPN('apbp.nc',NCNOWRIT,rcod) 229 if (ncidpl.eq.-99) rcod=nf90_open('apbp.nc',Nf90_NOWRITe, 230 $ ncidpl) 228 231 else 229 232 if (guide_u) then 230 if (ncidpl.eq.-99) ncidpl=NCOPN('u.nc',NCNOWRIT,rcod)233 if (ncidpl.eq.-99) rcod=nf90_open('u.nc',Nf90_NOWRITe,ncidpl) 231 234 endif 232 235 c 233 236 if (guide_v) then 234 if (ncidpl.eq.-99) ncidpl=NCOPN('v.nc',NCNOWRIT,rcod)237 if (ncidpl.eq.-99) rcod=nf90_open('v.nc',nf90_nowrite,ncidpl) 235 238 endif 236 239 c 237 240 if (guide_T) then 238 if (ncidpl.eq.-99) ncidpl=NCOPN('T.nc',NCNOWRIT,rcod)241 if (ncidpl.eq.-99) rcod=nf90_open('T.nc',nf90_nowrite,ncidpl) 239 242 endif 240 243 c 241 244 if (guide_Q) then 242 if (ncidpl.eq.-99) ncidpl=NCOPN('hur.nc',NCNOWRIT,rcod) 245 if (ncidpl.eq.-99) rcod=nf90_open('hur.nc',nf90_nowrite, 246 $ ncidpl) 243 247 endif 244 248 c … … 251 255 status=NF_INQ_DIMLEN(ncidpl,rid,nlev) 252 256 print *,'nlev guide', nlev 253 call ncclos(ncidpl,rcod)257 rcod = nf90_close(ncidpl) 254 258 c Lecture du premier etat des reanalyses. 255 259 call read_reanalyse(1,ps -
LMDZ4/branches/LMDZ4-dev/libf/dyn3d/read_reanalyse.F
r1120 r1135 13 13 c Declarations 14 14 c ----------------------------------------------------------------- 15 use netcdf 16 15 17 IMPLICIT NONE 16 18 … … 72 74 print *,'Vous êtes entrain de lire des données sur 73 75 . niveaux modèle' 74 ncidpl=NCOPN('apbp.nc',NCNOWRIT,rcode)75 varidap=NCVID(ncidpl,'AP',rcode)76 varidbp=NCVID(ncidpl,'BP',rcode)76 rcode=nf90_open('apbp.nc',nf90_nowrite,ncidpl) 77 rcode = nf90_inq_varid(ncidpl, 'AP', varidap) 78 rcode = nf90_inq_varid(ncidpl, 'BP', varidbp) 77 79 print*,'ncidpl,varidap',ncidpl,varidap 78 80 endif … … 80 82 c Vent zonal 81 83 if (guide_u) then 82 ncidu=NCOPN('u.nc',NCNOWRIT,rcode)83 varidu=NCVID(ncidu,'UWND',rcode)84 print*,'ncidu,varidu',ncidu,varidu85 if (ncidpl.eq.-99) ncidpl=ncidu84 rcode=nf90_open('u.nc',nf90_nowrite,ncidu) 85 rcode = nf90_inq_varid(ncidu, 'UWND', varidu) 86 print*,'ncidu,varidu',ncidu,varidu 87 if (ncidpl.eq.-99) ncidpl=ncidu 86 88 endif 87 89 88 90 c Vent meridien 89 91 if (guide_v) then 90 ncidv=NCOPN('v.nc',NCNOWRIT,rcode)91 varidv=NCVID(ncidv,'VWND',rcode)92 rcode=nf90_open('v.nc',nf90_nowrite,ncidv) 93 rcode = nf90_inq_varid(ncidv, 'VWND', varidv) 92 94 print*,'ncidv,varidv',ncidv,varidv 93 95 if (ncidpl.eq.-99) ncidpl=ncidv … … 96 98 c Temperature 97 99 if (guide_T) then 98 ncidt=NCOPN('T.nc',NCNOWRIT,rcode)99 varidt=NCVID(ncidt,'AIR',rcode)100 rcode=nf90_open('T.nc',nf90_nowrite,ncidt) 101 rcode = nf90_inq_varid(ncidt, 'AIR', varidt) 100 102 print*,'ncidt,varidt',ncidt,varidt 101 103 if (ncidpl.eq.-99) ncidpl=ncidt … … 104 106 c Humidite 105 107 if (guide_Q) then 106 ncidQ=NCOPN('hur.nc',NCNOWRIT,rcode)107 varidQ=NCVID(ncidQ,'RH',rcode)108 rcode=nf90_open('hur.nc',nf90_nowrite,ncidQ) 109 rcode = nf90_inq_varid(ncidQ, 'RH', varidQ) 108 110 print*,'ncidQ,varidQ',ncidQ,varidQ 109 111 if (ncidpl.eq.-99) ncidpl=ncidQ … … 112 114 c Pression de surface 113 115 if ((guide_P).OR.(guide_modele)) then 114 ncidps=NCOPN('ps.nc',NCNOWRIT,rcode)115 varidps=NCVID(ncidps,'SP',rcode)116 rcode=nf90_open('ps.nc',nf90_nowrite,ncidps) 117 rcode = nf90_inq_varid(ncidps, 'SP', varidps) 116 118 print*,'ncidps,varidps',ncidps,varidps 117 119 endif … … 119 121 c Coordonnee verticale 120 122 if (.not.guide_modele) then 121 if (ncep) then122 print*,'Vous etes entrain de lire des donnees NCEP'123 varidpl=NCVID(ncidpl,'LEVEL',rcode)124 else125 print*,'Vous etes entrain de lire des donnees ECMWF'126 varidpl=NCVID(ncidpl,'PRESSURE',rcode)127 endif128 print*,'ncidpl,varidpl',ncidpl,varidpl123 if (ncep) then 124 print*,'Vous etes entrain de lire des donnees NCEP' 125 rcode = nf90_inq_varid(ncidpl, 'LEVEL', varidpl) 126 else 127 print*,'Vous etes entrain de lire des donnees ECMWF' 128 rcode = nf90_inq_varid(ncidpl, 'PRESSURE', varidpl) 129 endif 130 print*,'ncidpl,varidpl',ncidpl,varidpl 129 131 endif 130 132 ! endif (first) -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/guide_p.F
r1049 r1135 4 4 subroutine guide_pp(itau,ucov,vcov,teta,q,masse,ps) 5 5 USE parallel 6 use netcdf 6 7 7 8 IMPLICIT NONE … … 229 230 IF (mpi_rank==0) THEN 230 231 if (guide_modele) then 231 if (ncidpl.eq.-99) ncidpl=NCOPN('apbp.nc',NCNOWRIT,rcod) 232 else 233 if (guide_u) then 234 if (ncidpl.eq.-99) ncidpl=NCOPN('u.nc',NCNOWRIT,rcod) 235 endif 236 c 237 if (guide_v) then 238 if (ncidpl.eq.-99) ncidpl=NCOPN('v.nc',NCNOWRIT,rcod) 239 endif 240 c 241 if (guide_T) then 242 if (ncidpl.eq.-99) ncidpl=NCOPN('T.nc',NCNOWRIT,rcod) 243 endif 244 c 245 if (guide_Q) then 246 if (ncidpl.eq.-99) ncidpl=NCOPN('hur.nc',NCNOWRIT,rcod) 247 endif 232 if (ncidpl.eq.-99) rcod=nf90_open('apbp.nc',Nf90_NOWRITe, 233 $ ncidpl) 234 else 235 if (guide_u) then 236 if (ncidpl.eq.-99) rcod=nf90_open('u.nc',Nf90_NOWRITe, 237 $ ncidpl) 238 endif 239 c 240 if (guide_v) then 241 if (ncidpl.eq.-99) rcod=nf90_open('v.nc',nf90_nowrite, 242 $ ncidpl) 243 endif 244 c 245 if (guide_T) then 246 if (ncidpl.eq.-99) rcod=nf90_open('T.nc',nf90_nowrite, 247 $ ncidpl) 248 endif 249 c 250 if (guide_Q) then 251 if (ncidpl.eq.-99) rcod=nf90_open('hur.nc',nf90_nowrite, 252 $ ncidpl) 253 endif 248 254 c 249 255 endif !guide_modele … … 256 262 status=NF_INQ_DIMLEN(ncidpl,rid,nlev) 257 263 print *,'nlev guide', nlev 258 call ncclos(ncidpl,rcod)264 rcod = nf90_close(ncidpl) 259 265 c Lecture du premier etat des reanalyses. 260 266 call Gather_Field(ps,ip1jmp1,1,0) -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/read_reanalyse.F
r1121 r1135 11 11 12 12 USE parallel 13 use netcdf 13 14 c ----------------------------------------------------------------- 14 15 c Declarations … … 72 73 print *,'Vous êtes entrain de lire des données sur 73 74 . niveaux modèle' 74 ncidpl=NCOPN('apbp.nc',NCNOWRIT,rcode)75 varidap=NCVID(ncidpl,'AP',rcode)76 varidbp=NCVID(ncidpl,'BP',rcode)75 rcode=nf90_open('apbp.nc',nf90_nowrite,ncidpl) 76 rcode = nf90_inq_varid(ncidpl, 'AP', varidap) 77 rcode = nf90_inq_varid(ncidpl, 'BP', varidbp) 77 78 print*,'ncidpl,varidap',ncidpl,varidap 78 79 endif … … 80 81 c Vent zonal 81 82 if (guide_u) then 82 ncidu=NCOPN('u.nc',NCNOWRIT,rcode)83 varidu=NCVID(ncidu,'UWND',rcode)83 rcode=nf90_open('u.nc',nf90_nowrite,ncidu) 84 rcode = nf90_inq_varid(ncidu, 'UWND', varidu) 84 85 print*,'ncidu,varidu',ncidu,varidu 85 86 if (ncidpl.eq.-99) ncidpl=ncidu … … 88 89 c Vent meridien 89 90 if (guide_v) then 90 ncidv=NCOPN('v.nc',NCNOWRIT,rcode)91 varidv=NCVID(ncidv,'VWND',rcode)91 rcode=nf90_open('v.nc',nf90_nowrite,ncidv) 92 rcode = nf90_inq_varid(ncidv, 'VWND', varidv) 92 93 print*,'ncidv,varidv',ncidv,varidv 93 94 if (ncidpl.eq.-99) ncidpl=ncidv … … 96 97 c Temperature 97 98 if (guide_T) then 98 ncidt=NCOPN('T.nc',NCNOWRIT,rcode)99 varidt=NCVID(ncidt,'AIR',rcode)99 rcode=nf90_open('T.nc',nf90_nowrite,ncidt) 100 rcode = nf90_inq_varid(ncidt, 'AIR', varidt) 100 101 print*,'ncidt,varidt',ncidt,varidt 101 102 if (ncidpl.eq.-99) ncidpl=ncidt … … 104 105 c Humidite 105 106 if (guide_Q) then 106 ncidQ=NCOPN('hur.nc',NCNOWRIT,rcode)107 varidQ=NCVID(ncidQ,'RH',rcode)107 rcode=nf90_open('hur.nc',nf90_nowrite,ncidQ) 108 rcode = nf90_inq_varid(ncidQ, 'RH', varidQ) 108 109 print*,'ncidQ,varidQ',ncidQ,varidQ 109 110 if (ncidpl.eq.-99) ncidpl=ncidQ … … 112 113 c Pression de surface 113 114 if ((guide_P).OR.(guide_modele)) then 114 ncidps=NCOPN('ps.nc',NCNOWRIT,rcode)115 varidps=NCVID(ncidps,'SP',rcode)115 rcode=nf90_open('ps.nc',nf90_nowrite,ncidps) 116 rcode = nf90_inq_varid(ncidps, 'SP', varidps) 116 117 print*,'ncidps,varidps',ncidps,varidps 117 118 endif … … 119 120 c Coordonnee verticale 120 121 if (.not.guide_modele) then 121 if (ncep) then122 print*,'Vous etes entrain de lire des donnees NCEP'123 varidpl=NCVID(ncidpl,'LEVEL',rcode)124 else125 print*,'Vous etes entrain de lire des donnees ECMWF'126 varidpl=NCVID(ncidpl,'PRESSURE',rcode)127 endif128 print*,'ncidpl,varidpl',ncidpl,varidpl122 if (ncep) then 123 print*,'Vous etes entrain de lire des donnees NCEP' 124 rcode = nf90_inq_varid(ncidpl, 'LEVEL', varidpl) 125 else 126 print*,'Vous etes entrain de lire des donnees ECMWF' 127 rcode = nf90_inq_varid(ncidpl, 'PRESSURE', varidpl) 128 endif 129 print*,'ncidpl,varidpl',ncidpl,varidpl 129 130 endif 130 131 print*,'ncidu,varidpl',ncidu,varidpl -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/read_pstoke.F
r940 r1135 18 18 C****************************************************************************** 19 19 20 use netcdf 20 21 USE dimphy 21 22 IMPLICIT NONE … … 116 117 if (irec .eq. 0) then 117 118 118 ncidp=NCOPN('phystoke.nc',NCNOWRIT,rcode)119 120 varidps=NCVID(ncidp,'phis',rcode)119 rcode=nf90_open('phystoke.nc',nf90_nowrite,ncidp) 120 121 rcode = nf90_inq_varid(ncidp, 'phis', varidps) 121 122 print*,'ncidp,varidps',ncidp,varidps 122 123 123 varidpl=NCVID(ncidp,'sig_s',rcode)124 rcode = nf90_inq_varid(ncidp, 'sig_s', varidpl) 124 125 print*,'ncidp,varidpl',ncidp,varidpl 125 126 126 varidai=NCVID(ncidp,'aire',rcode)127 rcode = nf90_inq_varid(ncidp, 'aire', varidai) 127 128 print*,'ncidp,varidai',ncidp,varidai 128 129 129 130 c A FAIRE: Es-il necessaire de stocke t? 130 varidt=NCVID(ncidp,'t',rcode)131 rcode = nf90_inq_varid(ncidp, 't', varidt) 131 132 print*,'ncidp,varidt',ncidp,varidt 132 133 133 varidmfu=NCVID(ncidp,'mfu',rcode)134 rcode = nf90_inq_varid(ncidp, 'mfu', varidmfu) 134 135 print*,'ncidp,varidmfu',ncidp,varidmfu 135 136 136 varidmfd=NCVID(ncidp,'mfd',rcode)137 rcode = nf90_inq_varid(ncidp, 'mfd', varidmfd) 137 138 print*,'ncidp,varidmfd',ncidp,varidmfd 138 139 139 varidenu=NCVID(ncidp,'en_u',rcode)140 rcode = nf90_inq_varid(ncidp, 'en_u', varidenu) 140 141 print*,'ncidp,varidenu',ncidp,varidenu 141 142 142 variddeu=NCVID(ncidp,'de_u',rcode)143 rcode = nf90_inq_varid(ncidp, 'de_u', variddeu) 143 144 print*,'ncidp,variddeu',ncidp,variddeu 144 145 145 varidend=NCVID(ncidp,'en_d',rcode)146 rcode = nf90_inq_varid(ncidp, 'en_d', varidend) 146 147 print*,'ncidp,varidend',ncidp,varidend 147 148 148 varidded=NCVID(ncidp,'de_d',rcode)149 rcode = nf90_inq_varid(ncidp, 'de_d', varidded) 149 150 print*,'ncidp,varidded',ncidp,varidded 150 151 151 varidch=NCVID(ncidp,'coefh',rcode)152 rcode = nf90_inq_varid(ncidp, 'coefh', varidch) 152 153 print*,'ncidp,varidch',ncidp,varidch 153 154 154 155 c abder (pour thermiques) 155 varidfmth=NCVID(ncidp,'fm_th',rcode)156 rcode = nf90_inq_varid(ncidp, 'fm_th', varidfmth) 156 157 print*,'ncidp,varidfmth',ncidp,varidfmth 157 158 158 varidenth=NCVID(ncidp,'en_th',rcode)159 rcode = nf90_inq_varid(ncidp, 'en_th', varidenth) 159 160 print*,'ncidp,varidenth',ncidp,varidenth 160 161 161 varidfi=NCVID(ncidp,'frac_impa',rcode)162 rcode = nf90_inq_varid(ncidp, 'frac_impa', varidfi) 162 163 print*,'ncidp,varidfi',ncidp,varidfi 163 164 164 varidfn=NCVID(ncidp,'frac_nucl',rcode)165 rcode = nf90_inq_varid(ncidp, 'frac_nucl', varidfn) 165 166 print*,'ncidp,varidfn',ncidp,varidfn 166 167 167 varidyu1=NCVID(ncidp,'pyu1',rcode)168 rcode = nf90_inq_varid(ncidp, 'pyu1', varidyu1) 168 169 print*,'ncidp,varidyu1',ncidp,varidyu1 169 170 170 varidyv1=NCVID(ncidp,'pyv1',rcode)171 rcode = nf90_inq_varid(ncidp, 'pyv1', varidyv1) 171 172 print*,'ncidp,varidyv1',ncidp,varidyv1 172 173 173 varidfts1=NCVID(ncidp,'ftsol1',rcode)174 rcode = nf90_inq_varid(ncidp, 'ftsol1', varidfts1) 174 175 print*,'ncidp,varidfts1',ncidp,varidfts1 175 176 176 varidfts2=NCVID(ncidp,'ftsol2',rcode)177 rcode = nf90_inq_varid(ncidp, 'ftsol2', varidfts2) 177 178 print*,'ncidp,varidfts2',ncidp,varidfts2 178 179 179 varidfts3=NCVID(ncidp,'ftsol3',rcode)180 rcode = nf90_inq_varid(ncidp, 'ftsol3', varidfts3) 180 181 print*,'ncidp,varidfts3',ncidp,varidfts3 181 182 182 varidfts4=NCVID(ncidp,'ftsol4',rcode)183 rcode = nf90_inq_varid(ncidp, 'ftsol4', varidfts4) 183 184 print*,'ncidp,varidfts4',ncidp,varidfts4 184 185 185 varidpsr1=NCVID(ncidp,'psrf1',rcode)186 rcode = nf90_inq_varid(ncidp, 'psrf1', varidpsr1) 186 187 print*,'ncidp,varidpsr1',ncidp,varidpsr1 187 188 188 varidpsr2=NCVID(ncidp,'psrf2',rcode)189 rcode = nf90_inq_varid(ncidp, 'psrf2', varidpsr2) 189 190 print*,'ncidp,varidpsr2',ncidp,varidpsr2 190 191 191 varidpsr3=NCVID(ncidp,'psrf3',rcode)192 rcode = nf90_inq_varid(ncidp, 'psrf3', varidpsr3) 192 193 print*,'ncidp,varidpsr3',ncidp,varidpsr3 193 194 194 varidpsr4=NCVID(ncidp,'psrf4',rcode)195 rcode = nf90_inq_varid(ncidp, 'psrf4', varidpsr4) 195 196 print*,'ncidp,varidpsr4',ncidp,varidpsr4 196 197 -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/read_pstoke0.F
r940 r1135 17 17 C****************************************************************************** 18 18 19 19 use netcdf 20 20 USE dimphy 21 21 IMPLICIT NONE … … 121 121 if (irec .eq. 0) then 122 122 123 ncidp=NCOPN('phystoke.nc',NCNOWRIT,rcode)124 125 varidps=NCVID(ncidp,'phis',rcode)123 rcode=nf90_open('phystoke.nc',nf90_nowrite,ncidp) 124 125 rcode = nf90_inq_varid(ncidp, 'phis', varidps) 126 126 print*,'ncidp,varidps',ncidp,varidps 127 127 128 varidpl=NCVID(ncidp,'sig_s',rcode)128 rcode = nf90_inq_varid(ncidp, 'sig_s', varidpl) 129 129 print*,'ncidp,varidpl',ncidp,varidpl 130 130 131 varidai=NCVID(ncidp,'aire',rcode)131 rcode = nf90_inq_varid(ncidp, 'aire', varidai) 132 132 print*,'ncidp,varidai',ncidp,varidai 133 133 134 varidt=NCVID(ncidp,'t',rcode)134 rcode = nf90_inq_varid(ncidp, 't', varidt) 135 135 print*,'ncidp,varidt',ncidp,varidt 136 136 137 varidmfu=NCVID(ncidp,'mfu',rcode)137 rcode = nf90_inq_varid(ncidp, 'mfu', varidmfu) 138 138 print*,'ncidp,varidmfu',ncidp,varidmfu 139 139 140 varidmfd=NCVID(ncidp,'mfd',rcode)140 rcode = nf90_inq_varid(ncidp, 'mfd', varidmfd) 141 141 print*,'ncidp,varidmfd',ncidp,varidmfd 142 142 143 varidenu=NCVID(ncidp,'en_u',rcode)143 rcode = nf90_inq_varid(ncidp, 'en_u', varidenu) 144 144 print*,'ncidp,varidenu',ncidp,varidenu 145 145 146 variddeu=NCVID(ncidp,'de_u',rcode)146 rcode = nf90_inq_varid(ncidp, 'de_u', variddeu) 147 147 print*,'ncidp,variddeu',ncidp,variddeu 148 148 149 varidend=NCVID(ncidp,'en_d',rcode)149 rcode = nf90_inq_varid(ncidp, 'en_d', varidend) 150 150 print*,'ncidp,varidend',ncidp,varidend 151 151 152 varidded=NCVID(ncidp,'de_d',rcode)152 rcode = nf90_inq_varid(ncidp, 'de_d', varidded) 153 153 print*,'ncidp,varidded',ncidp,varidded 154 154 155 varidch=NCVID(ncidp,'coefh',rcode)155 rcode = nf90_inq_varid(ncidp, 'coefh', varidch) 156 156 print*,'ncidp,varidch',ncidp,varidch 157 157 158 158 c Thermiques 159 varidfmth=NCVID(ncidp,'fm_th',rcode)159 rcode = nf90_inq_varid(ncidp, 'fm_th', varidfmth) 160 160 print*,'ncidp,varidfmth',ncidp,varidfmth 161 161 162 varidenth=NCVID(ncidp,'en_th',rcode)162 rcode = nf90_inq_varid(ncidp, 'en_th', varidenth) 163 163 print*,'ncidp,varidenth',ncidp,varidenth 164 164 165 varidfi=NCVID(ncidp,'frac_impa',rcode)165 rcode = nf90_inq_varid(ncidp, 'frac_impa', varidfi) 166 166 print*,'ncidp,varidfi',ncidp,varidfi 167 167 168 varidfn=NCVID(ncidp,'frac_nucl',rcode)168 rcode = nf90_inq_varid(ncidp, 'frac_nucl', varidfn) 169 169 print*,'ncidp,varidfn',ncidp,varidfn 170 170 171 varidyu1=NCVID(ncidp,'pyu1',rcode)171 rcode = nf90_inq_varid(ncidp, 'pyu1', varidyu1) 172 172 print*,'ncidp,varidyu1',ncidp,varidyu1 173 173 174 varidyv1=NCVID(ncidp,'pyv1',rcode)174 rcode = nf90_inq_varid(ncidp, 'pyv1', varidyv1) 175 175 print*,'ncidp,varidyv1',ncidp,varidyv1 176 176 177 varidfts1=NCVID(ncidp,'ftsol1',rcode)177 rcode = nf90_inq_varid(ncidp, 'ftsol1', varidfts1) 178 178 print*,'ncidp,varidfts1',ncidp,varidfts1 179 179 180 varidfts2=NCVID(ncidp,'ftsol2',rcode)180 rcode = nf90_inq_varid(ncidp, 'ftsol2', varidfts2) 181 181 print*,'ncidp,varidfts2',ncidp,varidfts2 182 182 183 varidfts3=NCVID(ncidp,'ftsol3',rcode)183 rcode = nf90_inq_varid(ncidp, 'ftsol3', varidfts3) 184 184 print*,'ncidp,varidfts3',ncidp,varidfts3 185 185 186 varidfts4=NCVID(ncidp,'ftsol4',rcode)186 rcode = nf90_inq_varid(ncidp, 'ftsol4', varidfts4) 187 187 print*,'ncidp,varidfts4',ncidp,varidfts4 188 188 189 varidpsr1=NCVID(ncidp,'psrf1',rcode)189 rcode = nf90_inq_varid(ncidp, 'psrf1', varidpsr1) 190 190 print*,'ncidp,varidpsr1',ncidp,varidpsr1 191 191 192 varidpsr2=NCVID(ncidp,'psrf2',rcode)192 rcode = nf90_inq_varid(ncidp, 'psrf2', varidpsr2) 193 193 print*,'ncidp,varidpsr2',ncidp,varidpsr2 194 194 195 varidpsr3=NCVID(ncidp,'psrf3',rcode)195 rcode = nf90_inq_varid(ncidp, 'psrf3', varidpsr3) 196 196 print*,'ncidp,varidpsr3',ncidp,varidpsr3 197 197 198 varidpsr4=NCVID(ncidp,'psrf4',rcode)198 rcode = nf90_inq_varid(ncidp, 'psrf4', varidpsr4) 199 199 print*,'ncidp,varidpsr4',ncidp,varidpsr4 200 200
Note: See TracChangeset
for help on using the changeset viewer.