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 3211 for branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/OBS/obs_prep.F90 – NEMO

Ignore:
Timestamp:
2011-12-11T16:00:26+01:00 (13 years ago)
Author:
spickles2
Message:

Stephen Pickles, 11 Dec 2011

Commit to bring the rest of the DCSE NEMO development branch
in line with the latest development version. This includes
array index re-ordering of all OPA_SRC/.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/OBS/obs_prep.F90

    r2715 r3211  
    4242      & obs_pre_vel, &     ! First level check and screening of velocity profiles 
    4343      & calc_month_len     ! Calculate the number of days in the months of a year   
     44 
     45   !! * Control permutation of array indices 
     46   !! No arrays with indices to permute. 
    4447 
    4548   !!---------------------------------------------------------------------- 
     
    356359      USE domstp              ! Domain: set the time-step 
    357360      USE par_oce             ! Ocean parameters 
     361#if defined key_z_first 
     362      USE dom_oce, ONLY : &   ! Geographical information 
     363         & glamt,   & 
     364         & gphit,   & 
     365         & tmask,   & 
     366         & tmask_1, & 
     367         & nproc 
     368#else 
    358369      USE dom_oce, ONLY : &   ! Geographical information 
    359370         & glamt,   & 
     
    361372         & tmask,   & 
    362373         & nproc 
     374#endif 
     375 
     376   !! * Control permutation of array indices 
     377#  include "dom_oce_ftrans.h90" 
     378 
    363379      !! * Arguments 
    364380      TYPE(obs_surf), INTENT(INOUT) :: sladata    ! Full set of SLA data 
     
    440456         &                 sladata%rlam, sladata%rphi, & 
    441457         &                 glamt,        gphit,        & 
     458#if defined key_z_first 
     459         &                 tmask_1(:,:), sladata%nqc,  & 
     460#else 
    442461         &                 tmask(:,:,1), sladata%nqc,  & 
     462#endif 
    443463         &                 iosdsobs,     ilansobs,     & 
    444464         &                 inlasobs,     ld_nea        ) 
     
    526546   END SUBROUTINE obs_pre_sla 
    527547 
     548   !! * Reset control of array index permutation 
     549!FTRANS CLEAR 
     550   !! No arrays with indices to permute. 
     551 
    528552   SUBROUTINE obs_pre_sst( sstdata, sstdatqc, ld_sst, ld_nea ) 
    529553      !!---------------------------------------------------------------------- 
     
    544568      USE domstp              ! Domain: set the time-step 
    545569      USE par_oce             ! Ocean parameters 
     570#if defined key_z_first 
     571      USE dom_oce, ONLY : &   ! Geographical information 
     572         & glamt,   & 
     573         & gphit,   & 
     574         & tmask,   & 
     575         & tmask_1, & 
     576         & nproc 
     577#else 
    546578      USE dom_oce, ONLY : &   ! Geographical information 
    547579         & glamt,   & 
     
    549581         & tmask,   & 
    550582         & nproc 
     583#endif 
     584 
     585   !! * Control permutation of array indices 
     586#  include "dom_oce_ftrans.h90" 
     587 
    551588      !! * Arguments 
    552589      TYPE(obs_surf), INTENT(INOUT) :: sstdata     ! Full set of SST data 
     
    625662         &                 sstdata%rlam, sstdata%rphi, & 
    626663         &                 glamt,        gphit,        & 
     664#if defined key_z_first 
     665         &                 tmask_1(:,:), sstdata%nqc,  & 
     666#else 
    627667         &                 tmask(:,:,1), sstdata%nqc,  & 
     668#endif 
    628669         &                 iosdsobs,     ilansobs,     & 
    629670         &                 inlasobs,     ld_nea        ) 
     
    711752   END SUBROUTINE obs_pre_sst 
    712753 
     754   !! * Reset control of array index permutation 
     755!FTRANS CLEAR 
     756   !! No arrays with indices to permute. 
     757 
    713758   SUBROUTINE obs_pre_seaice( seaicedata, seaicedatqc, ld_seaice, ld_nea ) 
    714759      !!---------------------------------------------------------------------- 
     
    733778         & gphit,   & 
    734779         & tmask,   & 
     780#if defined key_z_first 
     781         & tmask_1, & 
     782#endif 
    735783         & nproc 
     784 
     785      !! * Control permutation of array indices 
     786#  include "dom_oce_ftrans.h90" 
     787 
    736788      !! * Arguments 
    737789      TYPE(obs_surf), INTENT(INOUT) :: seaicedata     ! Full set of Sea Ice data 
     
    810862         &                 seaicedata%rlam, seaicedata%rphi, & 
    811863         &                 glamt,           gphit,           & 
     864#if defined key_z_first 
     865         &                 tmask_1(:,:),    seaicedata%nqc,  & 
     866#else 
    812867         &                 tmask(:,:,1),    seaicedata%nqc,  & 
     868#endif 
    813869         &                 iosdsobs,        ilansobs,        & 
    814870         &                 inlasobs,        ld_nea           ) 
     
    896952   END SUBROUTINE obs_pre_seaice 
    897953 
     954   !! * Reset control of array index permutation 
     955!FTRANS CLEAR 
     956   !! No arrays with indices to permute. 
     957 
    898958   SUBROUTINE obs_pre_vel( profdata, prodatqc, ld_vel3d, ld_nea, ld_dailyav ) 
    899959      !!---------------------------------------------------------------------- 
     
    919979         & tmask, umask, vmask,  & 
    920980         & nproc 
     981 
     982      !! * Control permutation of array indices 
     983#  include "dom_oce_ftrans.h90" 
     984 
    921985      !! * Arguments 
    922986      TYPE(obs_prof), INTENT(INOUT) :: profdata   ! Full set of profile data 
     
    11881252   END SUBROUTINE obs_pre_vel 
    11891253 
     1254   !! * Reset control of array index permutation 
     1255!FTRANS CLEAR 
     1256   !! No arrays with indices to permute. 
     1257 
    11901258   SUBROUTINE obs_coo_tim( kcycle, & 
    11911259      &                    kyea0,   kmon0,   kday0,   khou0,   kmin0,     & 
     
    17101778      USE dom_oce, ONLY : &       ! Geographical information 
    17111779         & gdepw_0                         
     1780 
     1781   !! * Control permutation of array indices 
     1782#  include "dom_oce_ftrans.h90" 
    17121783 
    17131784      !! * Arguments 
     
    18681939   END SUBROUTINE obs_coo_spc_3d 
    18691940 
     1941   !! * Reset control of array index permutation 
     1942!FTRANS CLEAR 
     1943   !! No arrays with indices to permute. 
     1944 
    18701945   SUBROUTINE obs_pro_rej( profdata ) 
    18711946      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.