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 10251 for branches/UKMO/dev_r5518_AMM15_package/NEMOGCM/TOOLS/SIREN/src/create_bathy.f90 – NEMO

Ignore:
Timestamp:
2018-10-29T15:20:26+01:00 (5 years ago)
Author:
kingr
Message:

Rolled back to r10247 - i.e., undid merge of pkg br and 3.6_stable br

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_AMM15_package/NEMOGCM/TOOLS/SIREN/src/create_bathy.f90

    r10248 r10251  
    2020!>    ./SIREN/bin/create_bathy create_bathy.nam 
    2121!> @endcode 
    22 !> <br/>     
    23 !> \image html  bathy_40.png  
    24 !> \image latex bathy_30.png 
    25 !> 
    26 !> @note  
    27 !>    you could find a template of the namelist in templates directory. 
    28 !> 
     22!>     
    2923!>    create_bathy.nam comprise 7 namelists:<br/> 
    3024!>       - logger namelist (namlog) 
     
    4337!>       - cn_logfile   : log filename 
    4438!>       - cn_verbosity : verbosity ('trace','debug','info', 
    45 !> 'warning','error','fatal','none') 
     39!> 'warning','error','fatal') 
    4640!>       - in_maxerror  : maximum number of error allowed 
    4741!> 
     
    5852!>       - cn_coord1 : coordinate file 
    5953!>       - in_perio1 : periodicity index 
    60 !>       - ln_fillclosed : fill closed sea or not (default is .TRUE.) 
     54!>       - ln_fillclosed : fill closed sea or not 
    6155!> 
    6256!>    * _variable namelist (namvar)_:<br/> 
    6357!>       - cn_varinfo : list of variable and extra information about request(s)  
    6458!>       to be used.<br/> 
    65 !>          each elements of *cn_varinfo* is a string character 
    66 !>          (separated by ',').<br/> 
     59!>          each elements of *cn_varinfo* is a string character.<br/> 
    6760!>          it is composed of the variable name follow by ':',  
    6861!>          then request(s) to be used on this variable.<br/>  
    6962!>          request could be: 
    70 !>             - int = interpolation method 
    71 !>             - ext = extrapolation method 
    72 !>             - flt = filter method 
    73 !>             - min = minimum value 
    74 !>             - max = maximum value 
    75 !>             - unt = new units 
    76 !>             - unf = unit scale factor (linked to new units) 
     63!>             - interpolation method 
     64!>             - extrapolation method 
     65!>             - filter method 
     66!>             - > minimum value 
     67!>             - < maximum value 
    7768!> 
    7869!>                requests must be separated by ';'.<br/> 
     
    8172!>          informations about available method could be find in @ref interp, 
    8273!>          @ref extrap and @ref filter modules.<br/> 
    83 !>          Example: 'Bathymetry: flt=2*hamming(2,3); min=0' 
     74!>          Example: 'Bathymetry: 2*hamming(2,3); > 0' 
    8475!>          @note  
    8576!>             If you do not specify a method which is required,  
     
    9990!>                - ',' for line 
    10091!>                - '/' for row 
     92!>                - '\' for level<br/> 
    10193!>                Example:<br/> 
    10294!>                   3,2,3/1,4,5  =>  @f$ \left( \begin{array}{ccc} 
     
    10799!>             - 'Bathymetry:gridT.nc' 
    108100!>             - 'Bathymetry:5000,5000,5000/5000,3000,5000/5000,5000,5000' 
     101!> 
     102!>          \image html  bathy_40.png  
     103!>          \image latex bathy_30.png 
    109104!> 
    110105!>    * _nesting namelist (namnst)_:<br/> 
     
    124119!> - add header for user 
    125120!> - Bug fix, compute offset depending of grid point 
    126 !> @date June, 2015 
    127 !> - extrapolate all land points. 
    128 !> - allow to change unit. 
    129121! 
    130 !> @todo 
    131 !> - use create_bathy_check_depth as in create_boundary 
    132 !> - use create_bathy_check_time  as in create_boundary 
    133 !> - check tl_multi is not empty 
    134 !> 
    135122!> @note Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    136123!---------------------------------------------------------------------- 
     
    495482   ENDIF 
    496483 
    497    ! use additional request 
    498484   DO jk=1,tl_multi%i_nvar 
    499  
    500          ! change unit and apply factor 
    501          CALL var_chg_unit(tl_var(jk)) 
    502  
    503485         ! forced min and max value 
    504486         CALL var_limit_value(tl_var(jk)) 
     
    575557 
    576558   ! add other variables 
    577    DO jk=tl_multi%i_nvar,1,-1 
     559   DO jk=1,tl_multi%i_nvar 
    578560      CALL file_add_var(tl_fileout, tl_var(jk)) 
    579561      CALL var_clean(tl_var(jk)) 
     
    641623   !> 
    642624   !> @author J.Paul 
    643    !> @date November, 2013 - Initial Version 
     625   !> - November, 2013- Initial Version 
    644626   !> 
    645627   !> @param[in] td_var    variable structure  
     
    777759   !>  
    778760   !> @author J.Paul 
    779    !> @date November, 2013 - Initial Version 
     761   !> - November, 2013- Initial Version 
    780762   !> 
    781763   !> @param[in] td_var    variable structure  
     
    896878   !>  
    897879   !> @author J.Paul 
    898    !> @date November, 2013 - Initial Version 
     880   !> - November, 2013- Initial Version 
    899881   !> 
    900882   !> @param[in] td_var    variable structure 
     
    915897      IMPLICIT NONE 
    916898      ! Argument 
    917       TYPE(TVAR)                 , INTENT(IN) :: td_var   
    918       TYPE(TMPP)                 , INTENT(IN) :: td_mpp  
    919       INTEGER(i4)                , INTENT(IN) :: id_imin 
    920       INTEGER(i4)                , INTENT(IN) :: id_imax 
    921       INTEGER(i4)                , INTENT(IN) :: id_jmin 
    922       INTEGER(i4)                , INTENT(IN) :: id_jmax 
     899      TYPE(TVAR) , INTENT(IN) :: td_var   
     900      TYPE(TMPP) , INTENT(IN) :: td_mpp  
     901      INTEGER(i4), INTENT(IN) :: id_imin 
     902      INTEGER(i4), INTENT(IN) :: id_imax 
     903      INTEGER(i4), INTENT(IN) :: id_jmin 
     904      INTEGER(i4), INTENT(IN) :: id_jmax 
    923905      INTEGER(i4), DIMENSION(:,:), INTENT(IN) :: id_offset 
    924906      INTEGER(i4), DIMENSION(:)  , INTENT(IN) :: id_rho 
     
    1007989   !>  
    1008990   !> @author J.Paul 
    1009    !> @date November, 2013 - Initial Version 
     991   !> - November, 2013- Initial Version 
    1010992   !> 
    1011993   !> @param[inout] td_var variable structure  
     
    10911073 
    10921074      ! extrapolate variable 
    1093       CALL extrap_fill_value( td_var ) 
     1075      CALL extrap_fill_value( td_var, id_offset=id_offset(:,:), & 
     1076      &                               id_rho=id_rho(:),         & 
     1077      &                               id_iext=il_iext, id_jext=il_jext ) 
    10941078 
    10951079      ! interpolate Bathymetry 
Note: See TracChangeset for help on using the changeset viewer.