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 3294 for trunk/NEMOGCM/NEMO/OPA_SRC/OBS/obs_read_altbias.F90 – NEMO

Ignore:
Timestamp:
2012-01-28T17:44:18+01:00 (12 years ago)
Author:
rblod
Message:

Merge of 3.4beta into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/OBS/obs_read_altbias.F90

    r2715 r3294  
    3333   USE obs_utils               ! Various observation tools 
    3434   USE obs_inter_sup 
     35   USE wrk_nemo                ! Memory Allocation 
    3536 
    3637   IMPLICIT NONE 
     
    6768      !! * Modules used 
    6869      USE iom 
    69       USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 
    70       USE wrk_nemo, ONLY: z_altbias => wrk_2d_1   ! Array to store the alt bias values 
    7170      ! 
    7271      !! * Arguments 
     
    102101         & zglam, & 
    103102         & zgphi 
     103      REAL(wp), POINTER, DIMENSION(:,:) ::   z_altbias 
    104104      REAL(wp) :: zlam 
    105105      REAL(wp) :: zphi 
     
    109109      INTEGER :: numaltbias 
    110110 
    111       IF(wrk_in_use(2, 1))THEN 
    112          CALL ctl_stop('obs_rea_altbias : requested workspace array unavailable.') 
    113          RETURN 
    114       END IF 
     111      CALL wrk_alloc(jpi,jpj,z_altbias)  
    115112 
    116113      IF(lwp)WRITE(numout,*)  
     
    211208      END DO 
    212209 
    213       IF(wrk_not_released(2, 1))THEN 
    214          CALL ctl_stop('obs_rea_altbias : failed to release workspace array.') 
    215       END IF 
     210      CALL wrk_dealloc(jpi,jpj,z_altbias)  
    216211 
    217212   END SUBROUTINE obs_rea_altbias 
Note: See TracChangeset for help on using the changeset viewer.