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 8856 for branches/UKMO/dev_r5518_obs_oper_update_obserr/NEMOGCM/NEMO/OPA_SRC/OBS/obs_surf_def.F90 – NEMO

Ignore:
Timestamp:
2017-11-30T14:06:43+01:00 (6 years ago)
Author:
mattmartin
Message:

Add first version of code to include obs error standard deviations in output files and read in from input files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_obs_oper_update_obserr/NEMOGCM/NEMO/OPA_SRC/OBS/obs_surf_def.F90

    r7992 r8856  
    7171      CHARACTER(len=8), POINTER, DIMENSION(:) :: & 
    7272         & cvars          !: Variable names 
     73 
     74      CHARACTER(len=8), POINTER, DIMENSION(:) :: & 
     75         & cext           !: Extra field names 
    7376 
    7477      CHARACTER(LEN=8), POINTER, DIMENSION(:) :: & 
     
    200203 
    201204      ALLOCATE( &  
    202          & surf%rext(ksurf,kextra) & 
     205         & surf%rext(ksurf,kextra), & 
     206         & surf%cext(kextra)        & 
    203207         & ) 
    204208 
    205209      surf%rext(:,:) = 0.0_wp  
     210 
     211      DO ji = 1, kextra 
     212         surf%cext(ji) = "NotSet" 
     213      END DO 
    206214 
    207215      ! Allocate arrays of number of time step size 
     
    288296 
    289297      DEALLOCATE( &  
    290          & surf%rext & 
     298         & surf%rext, & 
     299         & cext & 
    291300         & ) 
    292301 
     
    435444      newsurf%nstp     = surf%nstp 
    436445      newsurf%cvars(:) = surf%cvars(:) 
     446      newsurf%cext(:)  = surf%cext(:) 
    437447       
    438448      ! Set gridded stuff 
Note: See TracChangeset for help on using the changeset viewer.