New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9969 for branches/UKMO/dev_merge_2017_CICE_interface/NEMOGCM/NEMO/OPA_SRC/IOM/iom_nf90.F90 – NEMO

Ignore:
Timestamp:
2018-07-19T10:07:31+02:00 (6 years ago)
Author:
timgraham
Message:

Picked all the changes in IOM from the trunk as it was crashing in calls to XIOS.
Added/corrected allocate calls in sbc_ice.F90 for CICE case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_merge_2017_CICE_interface/NEMOGCM/NEMO/OPA_SRC/IOM/iom_nf90.F90

    r9499 r9969  
    253253         ! return the simension size 
    254254         IF( PRESENT(kdimsz) ) THEN  
    255             IF( i_nvd == SIZE(kdimsz) ) THEN 
    256                kdimsz(:) = iom_file(kiomid)%dimsz(1:i_nvd,kiv) 
     255            IF( i_nvd <= SIZE(kdimsz) ) THEN 
     256               kdimsz(1:i_nvd) = iom_file(kiomid)%dimsz(1:i_nvd,kiv) 
    257257            ELSE 
    258258               WRITE(ctmp1,*) i_nvd, SIZE(kdimsz) 
Note: See TracChangeset for help on using the changeset viewer.