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 11930 for NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/tests/STATION_ASF/MY_SRC/usrdef_hgr.F90 – NEMO

Ignore:
Timestamp:
2019-11-19T17:41:22+01:00 (4 years ago)
Author:
laurent
Message:

New functional "stp_ctl" for STATION_ASF, test-case launch script and python diagnostics...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/tests/STATION_ASF/MY_SRC/usrdef_hgr.F90

    r11637 r11930  
    6767      REAL(wp), DIMENSION(:,:), INTENT(out) ::   pe1e2u, pe1e2v               ! u- & v-surfaces (if reduction in strait)   [m2] 
    6868      ! 
    69       INTEGER  ::   ji, jj               ! dummy loop indices 
    70       REAL(wp) ::   zlam1, zlam0, zcos_alpha, zim1 , zjm1 , ze1  , ze1deg, zf0   ! local scalars 
    71       REAL(wp) ::   zphi1, zphi0, zsin_alpha, zim05, zjm05, zbeta, znorme, zfact !   -      - 
     69      REAL(wp) :: zf0   ! local scalar 
    7270      !!------------------------------------------------------------------------------- 
    7371      ! 
    7472      IF(lwp) WRITE(numout,*) 
    75       IF(lwp) WRITE(numout,*) 'usr_def_hgr : C1D configuration' 
     73      IF(lwp) WRITE(numout,*) 'usr_def_hgr : STATION_ASF configuration' 
    7674      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~   uniform grid spacing WITH Coriolis force' 
    77       IF(lwp) WRITE(numout,*) ' LOLO => rn_lon1d, rn_lat1d =', rn_lon1d, rn_lat1d 
     75      IF(lwp) WRITE(numout,*) '              coordinates of station =>', rn_lon1d, rn_lat1d 
    7876      ! 
    7977      !                       !==  grid point position  ==!   (Special case of 1D config: all lon/lat are the same) 
     
    8886      pphiv(:,:) = rn_lat1d 
    8987      pphif(:,:) = rn_lat1d 
     88 
    9089      !                       !== Horizontal scale factors ==! (in meters) 
    91       !                      
    9290      !                                         ! constant grid spacing 
    9391      pe1t(:,:) = 100.  ;   pe2t(:,:) = 100. 
     
    103101      ! 
    104102      !                       !==  Coriolis parameter  ==! 
    105       kff = 0                 !  indicate to compute Coriolis parameter afterward 
     103      zf0   = 2._wp * omega * SIN( rad * rn_lat1d )       
     104      pff_f(:,:) = zf0 
     105      pff_t(:,:) = zf0       
     106      kff = 1                 !  indicate to skip computing Coriolis parameter afterward 
    106107      ! 
    107108   END SUBROUTINE usr_def_hgr 
Note: See TracChangeset for help on using the changeset viewer.