Changeset 4145 for trunk/LMDZ.COMMON/libf/evolution/io_netcdf.F90
- Timestamp:
- Mar 19, 2026, 2:07:40 PM (12 days ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/io_netcdf.F90 (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/io_netcdf.F90
r4134 r4145 45 45 integer(di), protected, private :: ncid_file ! File ID 46 46 integer(di), protected, private :: varid ! Variable ID 47 integer(di) :: ncid_diagevo ! File ID specific to "diagevo.nc"47 integer(di) :: ncid_diagevo ! File ID specific to "diagevo.nc" 48 48 49 49 ! INTERFACES … … 340 340 ! CODE 341 341 ! ---- 342 ! Read 342 343 if (present(found)) then 343 344 call check_nc(nf90_inq_varid(ncid_file,var_name,varid),'inquiring '//var_name,found) … … 347 348 call check_nc(nf90_get_var(ncid_file,varid,var),'getting '//var_name) 348 349 end if 350 351 ! Check the variable validity 349 352 call check_valid_var_nc(var_name,var) 350 353 … … 380 383 ! CODE 381 384 ! ---- 385 ! Read 382 386 if (present(found)) then 383 387 call check_nc(nf90_inq_varid(ncid_file,var_name,varid),'inquiring '//var_name,found) … … 387 391 call check_nc(nf90_get_var(ncid_file,varid,var),'getting '//var_name) 388 392 end if 393 394 ! Check the variable validity 389 395 call check_valid_var_nc(var_name,var) 390 396 … … 420 426 ! CODE 421 427 ! ---- 428 ! Read 422 429 if (present(found)) then 423 430 call check_nc(nf90_inq_varid(ncid_file,var_name,varid),'inquiring '//var_name,found) … … 427 434 call check_nc(nf90_get_var(ncid_file,varid,var),'getting '//var_name) 428 435 end if 436 437 ! Check the variable validity 429 438 call check_valid_var_nc(var_name,var) 430 439 … … 460 469 ! CODE 461 470 ! ---- 471 ! Read 462 472 if (present(found)) then 463 473 call check_nc(nf90_inq_varid(ncid_file,var_name,varid),'inquiring '//var_name,found) … … 467 477 call check_nc(nf90_get_var(ncid_file,varid,var),'getting '//var_name) 468 478 end if 479 480 ! Check the variable validity 469 481 call check_valid_var_nc(var_name,var) 470 482 … … 500 512 ! CODE 501 513 ! ---- 514 ! Read 502 515 if (present(found)) then 503 516 call check_nc(nf90_inq_varid(ncid_file,var_name,varid),'inquiring '//var_name,found) … … 507 520 call check_nc(nf90_get_var(ncid_file,varid,var),'getting '//var_name) 508 521 end if 522 523 ! Check the variable validity 509 524 call check_valid_var_nc(var_name,var) 510 525 … … 546 561 ! CODE 547 562 ! ---- 563 ! Check the variable validity 564 call check_valid_var_nc(var_name,var) 565 548 566 ! Diagevol logic priority over standard logic 549 567 if (open_diagevo) then … … 610 628 ! CODE 611 629 ! ---- 630 ! Check the variable validity 631 call check_valid_var_nc(var_name,var) 632 612 633 ! Diagevol logic priority over standard logic 613 634 if (open_diagevo) then … … 681 702 ! CODE 682 703 ! ---- 704 ! Check the variable validity 705 call check_valid_var_nc(var_name,var) 706 683 707 ! Diagevol logic priority over standard logic 684 708 if (open_diagevo) then … … 752 776 ! CODE 753 777 ! ---- 778 ! Check the variable validity 779 call check_valid_var_nc(var_name,var) 780 754 781 ! Diagevol logic priority over standard logic 755 782 if (open_diagevo) then … … 823 850 ! CODE 824 851 ! ---- 852 ! Check the variable validity 853 call check_valid_var_nc(var_name,var) 854 825 855 ! Diagevol logic priority over standard logic 826 856 if (open_diagevo) then
Note: See TracChangeset
for help on using the changeset viewer.
