Changeset 256 for LMDZ.3.3/trunk/libf
- Timestamp:
- Jul 17, 2001, 5:34:41 PM (23 years ago)
- Location:
- LMDZ.3.3/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/phylmd/read_pstoke.F
r207 r256 199 199 c niveaux de pression 200 200 201 #ifdef NC_DOUBLE 202 status=NF_GET_VARA_DOUBLE(ncidp,varidpl,1,zklevo,pl) 203 #else 201 204 status=NF_GET_VARA_REAL(ncidp,varidpl,1,zklevo,pl) 205 #endif 206 202 207 203 208 c lecture de aire et phis … … 214 219 215 220 c phis 221 #ifdef NC_DOUBLE 222 status=NF_GET_VARA_DOUBLE(ncidp,varidps,start,count,phisfi2) 223 #else 216 224 status=NF_GET_VARA_REAL(ncidp,varidps,start,count,phisfi2) 225 #endif 217 226 c print*,'WARNING!!! Correction bidon pour palier a un ' 218 227 c print*,'probleme dans la creation des fichiers nc' … … 222 231 223 232 c aire 233 #ifdef NC_DOUBLE 234 status=NF_GET_VARA_DOUBLE(ncidp,varidai,start,count,airefi2) 235 #else 224 236 status=NF_GET_VARA_REAL(ncidp,varidai,start,count,airefi2) 237 #endif 238 225 239 c call correctbid(iim,jjp1*1,airefi2) 226 240 c call dump2d(iip1-1,jjp1,airefi2,'AIRENC') … … 249 263 c frac_impa 250 264 265 #ifdef NC_DOUBLE 266 status=NF_GET_VARA_DOUBLE(ncidp,varidfi,start,count,frac_impa2) 267 #else 251 268 status=NF_GET_VARA_REAL(ncidp,varidfi,start,count,frac_impa2) 269 #endif 252 270 c print*,'WARNING!!! Correction bidon pour palier a un ' 253 271 c print*,'probleme dans la creation des fichiers nc' … … 258 276 c frac_nucl 259 277 278 #ifdef NC_DOUBLE 279 status=NF_GET_VARA_DOUBLE(ncidp,varidfn,start,count,frac_nucl2) 280 #else 260 281 status=NF_GET_VARA_REAL(ncidp,varidfn,start,count,frac_nucl2) 282 #endif 283 261 284 c print*,'WARNING!!! Correction bidon pour palier a un ' 262 285 c print*,'probleme dans la creation des fichiers nc' … … 266 289 267 290 c abder t 291 #ifdef NC_DOUBLE 292 status=NF_GET_VARA_DOUBLE(ncidp,varidt,start,count,t2) 293 #else 268 294 status=NF_GET_VARA_REAL(ncidp,varidt,start,count,t2) 295 #endif 269 296 call gr_ecrit_fi(klevo,klono,imo,jmo+1,t2,t) 270 297 271 298 c mfu 299 #ifdef NC_DOUBLE 300 status=NF_GET_VARA_DOUBLE(ncidp,varidmfu,start,count,mfu2) 301 #else 272 302 status=NF_GET_VARA_REAL(ncidp,varidmfu,start,count,mfu2) 303 #endif 304 273 305 c print*,'WARNING!!! Correction bidon pour palier a un ' 274 306 c print*,'probleme dans la creation des fichiers nc' … … 278 310 279 311 c mfd 312 #ifdef NC_DOUBLE 313 status=NF_GET_VARA_DOUBLE(ncidp,varidmfd,start,count,mfd2) 314 #else 280 315 status=NF_GET_VARA_REAL(ncidp,varidmfd,start,count,mfd2) 316 #endif 281 317 c print*,'WARNING!!! Correction bidon pour palier a un ' 282 318 c print*,'probleme dans la creation des fichiers nc' … … 286 322 287 323 c en_u 324 #ifdef NC_DOUBLE 325 status=NF_GET_VARA_DOUBLE(ncidp,varidenu,start,count,en_u2) 326 #else 288 327 status=NF_GET_VARA_REAL(ncidp,varidenu,start,count,en_u2) 328 #endif 289 329 c print*,'WARNING!!! Correction bidon pour palier a un ' 290 330 c print*,'probleme dans la creation des fichiers nc' … … 294 334 295 335 c de_u 336 #ifdef NC_DOUBLE 337 status=NF_GET_VARA_DOUBLE(ncidp,variddeu,start,count,de_u2) 338 #else 296 339 status=NF_GET_VARA_REAL(ncidp,variddeu,start,count,de_u2) 340 #endif 341 297 342 c print*,'WARNING!!! Correction bidon pour palier a un ' 298 343 c print*,'probleme dans la creation des fichiers nc' … … 302 347 303 348 c en_d 349 #ifdef NC_DOUBLE 350 status=NF_GET_VARA_DOUBLE(ncidp,varidend,start,count,en_d2) 351 #else 304 352 status=NF_GET_VARA_REAL(ncidp,varidend,start,count,en_d2) 353 #endif 305 354 c print*,'WARNING!!! Correction bidon pour palier a un ' 306 355 c print*,'probleme dans la creation des fichiers nc' … … 310 359 311 360 c de_d 361 #ifdef NC_DOUBLE 362 status=NF_GET_VARA_DOUBLE(ncidp,varidded,start,count,de_d2) 363 #else 312 364 status=NF_GET_VARA_REAL(ncidp,varidded,start,count,de_d2) 365 #endif 313 366 c print*,'WARNING!!! Correction bidon pour palier a un ' 314 367 c print*,'probleme dans la creation des fichiers nc' … … 318 371 319 372 c coefh 320 status=NF_GET_VARA_REAL(ncidp,varidch,start,count,coefh2) 373 print*,'LECTURE de coefh a irec =',irec 374 #ifdef NC_DOUBLE 375 status=NF_GET_VARA_DOUBLE(ncidp,varidch,start,count,coefh2) 376 #else 377 status=NF_GET_VARA_REAL(ncidp,varidch,start,count,coefh2) 378 #endif 321 379 c print*,'WARNING!!! Correction bidon pour palier a un ' 322 380 c print*,'probleme dans la creation des fichiers nc' … … 339 397 340 398 c pyv1 399 #ifdef NC_DOUBLE 400 status=NF_GET_VARA_DOUBLE(ncidp,varidyv1,start,count,pyv12) 401 #else 341 402 status=NF_GET_VARA_REAL(ncidp,varidyv1,start,count,pyv12) 403 #endif 342 404 c print*,'WARNING!!! Correction bidon pour palier a un ' 343 405 c print*,'probleme dans la creation des fichiers nc' … … 347 409 348 410 c ftsol1 411 #ifdef NC_DOUBLE 412 status=NF_GET_VARA_DOUBLE(ncidp,varidfts1,start,count,ftsol12) 413 #else 349 414 status=NF_GET_VARA_REAL(ncidp,varidfts1,start,count,ftsol12) 415 #endif 350 416 c print*,'WARNING!!! Correction bidon pour palier a un ' 351 417 c print*,'probleme dans la creation des fichiers nc' … … 355 421 356 422 c ftsol2 423 #ifdef NC_DOUBLE 424 status=NF_GET_VARA_DOUBLE(ncidp,varidfts2,start,count,ftsol22) 425 #else 357 426 status=NF_GET_VARA_REAL(ncidp,varidfts2,start,count,ftsol22) 427 #endif 358 428 c print*,'WARNING!!! Correction bidon pour palier a un ' 359 429 c print*,'probleme dans la creation des fichiers nc' … … 363 433 364 434 c ftsol3 435 #ifdef NC_DOUBLE 436 status=NF_GET_VARA_DOUBLE(ncidp,varidfts3,start,count,ftsol32) 437 #else 365 438 status=NF_GET_VARA_REAL(ncidp,varidfts3,start,count,ftsol32) 439 #endif 366 440 c print*,'WARNING!!! Correction bidon pour palier a un ' 367 441 c print*,'probleme dans la creation des fichiers nc' … … 371 445 372 446 c ftsol4 447 #ifdef NC_DOUBLE 448 status=NF_GET_VARA_DOUBLE(ncidp,varidfts4,start,count,ftsol42) 449 #else 373 450 status=NF_GET_VARA_REAL(ncidp,varidfts4,start,count,ftsol42) 451 #endif 374 452 c print*,'WARNING!!! Correction bidon pour palier a un ' 375 453 c print*,'probleme dans la creation des fichiers nc' … … 379 457 380 458 c psrf1 381 status=NF_GET_VARA_REAL(ncidp,varidpsr1,start,count,psrf12) 459 #ifdef NC_DOUBLE 460 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr2,start,count,psrf22) 461 #else 462 status=NF_GET_VARA_REAL(ncidp,varidpsr2,start,count,psrf22) 463 #endif 382 464 c print*,'WARNING!!! Correction bidon pour palier a un ' 383 465 c print*,'probleme dans la creation des fichiers nc' … … 387 469 388 470 c psrf2 471 #ifdef NC_DOUBLE 472 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr2,start,count,psrf22) 473 #else 389 474 status=NF_GET_VARA_REAL(ncidp,varidpsr2,start,count,psrf22) 475 #endif 390 476 c print*,'WARNING!!! Correction bidon pour palier a un ' 391 477 c print*,'probleme dans la creation des fichiers nc' … … 395 481 396 482 c psrf3 483 #ifdef NC_DOUBLE 484 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr3,start,count,psrf32) 485 #else 397 486 status=NF_GET_VARA_REAL(ncidp,varidpsr3,start,count,psrf32) 487 #endif 398 488 c print*,'WARNING!!! Correction bidon pour palier a un ' 399 489 c print*,'probleme dans la creation des fichiers nc' … … 403 493 404 494 c psrf4 495 #ifdef NC_DOUBLE 496 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr4,start,count,psrf42) 497 #else 405 498 status=NF_GET_VARA_REAL(ncidp,varidpsr4,start,count,psrf42) 499 #endif 406 500 c print*,'WARNING!!! Correction bidon pour palier a un ' 407 501 c print*,'probleme dans la creation des fichiers nc' -
LMDZ.3.3/trunk/libf/phylmd/read_pstoke0.F
r207 r256 1 c2 c $Header$3 c4 1 subroutine read_pstoke0(irec, 5 2 . zrec,zkon,zkev,airefi,phisfi, … … 199 196 c niveaux de pression 200 197 198 #ifdef NC_DOUBLE 199 status=NF_GET_VARA_DOUBLE(ncidp,varidpl,1,kev,pl) 200 #else 201 201 status=NF_GET_VARA_REAL(ncidp,varidpl,1,kev,pl) 202 #endif 202 203 203 204 c lecture de aire et phis … … 215 216 c 216 217 c phis 218 #ifdef NC_DOUBLE 219 status=NF_GET_VARA_DOUBLE(ncidp,varidps,start,count,phisfi2) 220 #else 217 221 status=NF_GET_VARA_REAL(ncidp,varidps,start,count,phisfi2) 222 #endif 223 224 218 225 call gr_ecrit_fi(1,kon,iim,jjm+1,phisfi2,phisfi) 219 226 220 227 c aire 228 #ifdef NC_DOUBLE 229 status=NF_GET_VARA_DOUBLE(ncidp,varidai,start,count,airefi2) 230 #else 221 231 status=NF_GET_VARA_REAL(ncidp,varidai,start,count,airefi2) 232 #endif 233 222 234 call gr_ecrit_fi(1,kon,iim,jjm+1,airefi2,airefi) 223 235 else … … 244 256 c frac_impa 245 257 258 #ifdef NC_DOUBLE 259 status=NF_GET_VARA_DOUBLE(ncidp,varidfi,start,count,frac_impa2) 260 #else 246 261 status=NF_GET_VARA_REAL(ncidp,varidfi,start,count,frac_impa2) 262 #endif 247 263 call gr_ecrit_fi(kev,kon,iim,jjm+1,frac_impa2,frac_impa) 248 264 249 265 c frac_nucl 250 266 267 #ifdef NC_DOUBLE 268 status=NF_GET_VARA_DOUBLE(ncidp,varidfn,start,count,frac_nucl2) 269 #else 251 270 status=NF_GET_VARA_REAL(ncidp,varidfn,start,count,frac_nucl2) 271 #endif 252 272 call gr_ecrit_fi(kev,kon,iim,jjm+1,frac_nucl2,frac_nucl) 253 273 254 274 c abder t 275 276 #ifdef NC_DOUBLE 277 status=NF_GET_VARA_DOUBLE(ncidp,varidt,start,count,t2) 278 #else 255 279 status=NF_GET_VARA_REAL(ncidp,varidt,start,count,t2) 280 #endif 281 256 282 call gr_ecrit_fi(kev,kon,iim,jjm+1,t2,t) 257 283 258 284 c mfu 285 286 #ifdef NC_DOUBLE 287 status=NF_GET_VARA_DOUBLE(ncidp,varidmfu,start,count,mfu2) 288 #else 259 289 status=NF_GET_VARA_REAL(ncidp,varidmfu,start,count,mfu2) 290 #endif 291 260 292 call gr_ecrit_fi(kev,kon,iim,jjm+1,mfu2,mfu) 261 293 262 294 c mfd 295 #ifdef NC_DOUBLE 296 status=NF_GET_VARA_DOUBLE(ncidp,varidmfd,start,count,mfd2) 297 #else 263 298 status=NF_GET_VARA_REAL(ncidp,varidmfd,start,count,mfd2) 299 #endif 264 300 call gr_ecrit_fi(kev,kon,iim,jjm+1,mfd2,mfd) 265 301 266 302 c en_u 303 #ifdef NC_DOUBLE 304 status=NF_GET_VARA_DOUBLE(ncidp,varidenu,start,count,en_u2) 305 #else 267 306 status=NF_GET_VARA_REAL(ncidp,varidenu,start,count,en_u2) 307 #endif 268 308 call gr_ecrit_fi(kev,kon,iim,jjm+1,en_u2,en_u) 269 309 270 310 c de_u 311 #ifdef NC_DOUBLE 312 status=NF_GET_VARA_DOUBLE(ncidp,variddeu,start,count,de_u2) 313 #else 271 314 status=NF_GET_VARA_REAL(ncidp,variddeu,start,count,de_u2) 315 #endif 272 316 call gr_ecrit_fi(kev,kon,iim,jjm+1,de_u2,de_u) 273 317 274 318 c en_d 319 #ifdef NC_DOUBLE 320 status=NF_GET_VARA_DOUBLE(ncidp,varidend,start,count,en_d2) 321 #else 275 322 status=NF_GET_VARA_REAL(ncidp,varidend,start,count,en_d2) 323 #endif 276 324 call gr_ecrit_fi(kev,kon,iim,jjm+1,en_d2,en_d) 277 325 278 326 c de_d 327 #ifdef NC_DOUBLE 328 status=NF_GET_VARA_DOUBLE(ncidp,varidded,start,count,de_d2) 329 #else 279 330 status=NF_GET_VARA_REAL(ncidp,varidded,start,count,de_d2) 331 #endif 280 332 call gr_ecrit_fi(kev,kon,iim,jjm+1,de_d2,de_d) 281 333 282 334 c coefh 283 335 print*,'LECTURE de coefh a irec =',irec 336 #ifdef NC_DOUBLE 337 status=NF_GET_VARA_DOUBLE(ncidp,varidch,start,count,coefh2) 338 #else 284 339 status=NF_GET_VARA_REAL(ncidp,varidch,start,count,coefh2) 340 #endif 341 285 342 call gr_ecrit_fi(kev,kon,iim,jjm+1,coefh2,coefh) 286 343 … … 292 349 c pyu1 293 350 print*,'LECTURE de yu1 a irec =',irec 351 #ifdef NC_DOUBLE 352 status=NF_GET_VARA_DOUBLE(ncidp,varidyu1,start,count,pyu12) 353 #else 294 354 status=NF_GET_VARA_REAL(ncidp,varidyu1,start,count,pyu12) 355 #endif 356 295 357 call gr_ecrit_fi(1,kon,iim,jjm+1,pyu12,pyu1) 296 358 297 359 c pyv1 298 360 print*,'LECTURE de yv1 a irec =',irec 361 #ifdef NC_DOUBLE 362 status=NF_GET_VARA_DOUBLE(ncidp,varidyv1,start,count,pyv12) 363 #else 299 364 status=NF_GET_VARA_REAL(ncidp,varidyv1,start,count,pyv12) 365 #endif 300 366 call gr_ecrit_fi(1,kon,iim,jjm+1,pyv12,pyv1) 301 367 302 368 c ftsol1 303 369 print*,'LECTURE de ftsol1 a irec =',irec 370 #ifdef NC_DOUBLE 371 status=NF_GET_VARA_DOUBLE(ncidp,varidfts1,start,count,ftsol12) 372 #else 304 373 status=NF_GET_VARA_REAL(ncidp,varidfts1,start,count,ftsol12) 374 #endif 305 375 call gr_ecrit_fi(1,kon,iim,jjm+1,ftsol12,ftsol1) 306 376 307 377 c ftsol2 308 378 print*,'LECTURE de ftsol2 a irec =',irec 379 #ifdef NC_DOUBLE 380 status=NF_GET_VARA_DOUBLE(ncidp,varidfts2,start,count,ftsol22) 381 #else 309 382 status=NF_GET_VARA_REAL(ncidp,varidfts2,start,count,ftsol22) 383 #endif 310 384 call gr_ecrit_fi(1,kon,iim,jjm+1,ftsol22,ftsol2) 311 385 312 386 c ftsol3 313 387 print*,'LECTURE de ftsol3 a irec =',irec 388 #ifdef NC_DOUBLE 389 status=NF_GET_VARA_DOUBLE(ncidp,varidfts3,start,count,ftsol32) 390 #else 314 391 status=NF_GET_VARA_REAL(ncidp,varidfts3,start,count,ftsol32) 392 #endif 315 393 call gr_ecrit_fi(1,kon,iim,jjm+1,ftsol32,ftsol3) 316 394 317 395 c ftsol4 396 #ifdef NC_DOUBLE 397 status=NF_GET_VARA_DOUBLE(ncidp,varidfts4,start,count,ftsol42) 398 #else 318 399 status=NF_GET_VARA_REAL(ncidp,varidfts4,start,count,ftsol42) 400 #endif 319 401 call gr_ecrit_fi(1,kon,iim,jjm+1,ftsol42,ftsol4) 320 402 321 403 c psrf1 404 #ifdef NC_DOUBLE 405 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr1,start,count,psrf12) 406 #else 322 407 status=NF_GET_VARA_REAL(ncidp,varidpsr1,start,count,psrf12) 408 #endif 323 409 c call dump2d(iip1-1,jjm+1,psrf12,'PSRF1NC') 324 410 call gr_ecrit_fi(1,kon,iim,jjm+1,psrf12,psrf1) 325 411 326 412 c psrf2 413 #ifdef NC_DOUBLE 414 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr2,start,count,psrf22) 415 #else 327 416 status=NF_GET_VARA_REAL(ncidp,varidpsr2,start,count,psrf22) 417 #endif 328 418 c call dump2d(iip1-1,jjm+1,psrf22,'PSRF2NC') 329 419 call gr_ecrit_fi(1,kon,iim,jjm+1,psrf22,psrf2) 330 420 331 421 c psrf3 422 #ifdef NC_DOUBLE 423 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr3,start,count,psrf32) 424 #else 332 425 status=NF_GET_VARA_REAL(ncidp,varidpsr3,start,count,psrf32) 426 #endif 333 427 call gr_ecrit_fi(1,kon,iim,jjm+1,psrf32,psrf3) 334 428 335 429 c psrf4 430 #ifdef NC_DOUBLE 431 status=NF_GET_VARA_DOUBLE(ncidp,varidpsr4,start,count,psrf42) 432 #else 336 433 status=NF_GET_VARA_REAL(ncidp,varidpsr4,start,count,psrf42) 434 #endif 337 435 call gr_ecrit_fi(1,kon,iim,jjm+1,psrf42,psrf4) 338 436
Note: See TracChangeset
for help on using the changeset viewer.