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

Ignore:
Timestamp:
2017-02-06T10:25:03+01:00 (7 years ago)
Author:
timgraham
Message:

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

File:
1 edited

Legend:

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

    r6140 r7646  
    12511251 
    12521252      ! At the end of the day get interpolated means 
    1253       IF ( idayend == 0 .AND. ldnightav ) THEN 
    1254  
    1255          ALLOCATE( & 
    1256             & zsurfm(2,2,isurf)  & 
    1257             & ) 
    1258  
    1259          CALL obs_int_comm_2d( 2, 2, isurf, kpi, kpj, igrdi, igrdj, & 
    1260             &               surfdataqc%vdmean(:,:), zsurfm ) 
    1261  
     1253      IF (ldnightav ) THEN 
     1254         IF ( idayend == 0 ) THEN 
     1255 
     1256            ALLOCATE( & 
     1257               & zsurfm(2,2,isurf)  & 
     1258               & ) 
     1259 
     1260            CALL obs_int_comm_2d( 2, 2, isurf, kpi, kpj, igrdi, igrdj, & 
     1261               &               surfdataqc%vdmean(:,:), zsurfm ) 
     1262 
     1263         ENDIF 
    12621264      ENDIF 
    12631265 
     
    13221324 
    13231325      ! At the end of the day also deallocate night-time mean array 
    1324       IF ( idayend == 0 .AND. ldnightav ) THEN 
    1325          DEALLOCATE( & 
    1326             & zsurfm  & 
    1327             & ) 
     1326      IF ( ldnightav ) THEN 
     1327         IF ( idayend == 0 ) THEN 
     1328            DEALLOCATE( & 
     1329               & zsurfm  & 
     1330               & ) 
     1331         ENDIF 
    13281332      ENDIF 
    13291333 
Note: See TracChangeset for help on using the changeset viewer.