- Timestamp:
- 2018-10-29T15:20:26+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_AMM15_package/NEMOGCM/TOOLS/SIREN/src/create_bathy.f90
r10248 r10251 20 20 !> ./SIREN/bin/create_bathy create_bathy.nam 21 21 !> @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 !> 29 23 !> create_bathy.nam comprise 7 namelists:<br/> 30 24 !> - logger namelist (namlog) … … 43 37 !> - cn_logfile : log filename 44 38 !> - cn_verbosity : verbosity ('trace','debug','info', 45 !> 'warning','error','fatal' ,'none')39 !> 'warning','error','fatal') 46 40 !> - in_maxerror : maximum number of error allowed 47 41 !> … … 58 52 !> - cn_coord1 : coordinate file 59 53 !> - in_perio1 : periodicity index 60 !> - ln_fillclosed : fill closed sea or not (default is .TRUE.)54 !> - ln_fillclosed : fill closed sea or not 61 55 !> 62 56 !> * _variable namelist (namvar)_:<br/> 63 57 !> - cn_varinfo : list of variable and extra information about request(s) 64 58 !> 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/> 67 60 !> it is composed of the variable name follow by ':', 68 61 !> then request(s) to be used on this variable.<br/> 69 62 !> 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 77 68 !> 78 69 !> requests must be separated by ';'.<br/> … … 81 72 !> informations about available method could be find in @ref interp, 82 73 !> @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' 84 75 !> @note 85 76 !> If you do not specify a method which is required, … … 99 90 !> - ',' for line 100 91 !> - '/' for row 92 !> - '\' for level<br/> 101 93 !> Example:<br/> 102 94 !> 3,2,3/1,4,5 => @f$ \left( \begin{array}{ccc} … … 107 99 !> - 'Bathymetry:gridT.nc' 108 100 !> - 'Bathymetry:5000,5000,5000/5000,3000,5000/5000,5000,5000' 101 !> 102 !> \image html bathy_40.png 103 !> \image latex bathy_30.png 109 104 !> 110 105 !> * _nesting namelist (namnst)_:<br/> … … 124 119 !> - add header for user 125 120 !> - Bug fix, compute offset depending of grid point 126 !> @date June, 2015127 !> - extrapolate all land points.128 !> - allow to change unit.129 121 ! 130 !> @todo131 !> - use create_bathy_check_depth as in create_boundary132 !> - use create_bathy_check_time as in create_boundary133 !> - check tl_multi is not empty134 !>135 122 !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 136 123 !---------------------------------------------------------------------- … … 495 482 ENDIF 496 483 497 ! use additional request498 484 DO jk=1,tl_multi%i_nvar 499 500 ! change unit and apply factor501 CALL var_chg_unit(tl_var(jk))502 503 485 ! forced min and max value 504 486 CALL var_limit_value(tl_var(jk)) … … 575 557 576 558 ! add other variables 577 DO jk= tl_multi%i_nvar,1,-1559 DO jk=1,tl_multi%i_nvar 578 560 CALL file_add_var(tl_fileout, tl_var(jk)) 579 561 CALL var_clean(tl_var(jk)) … … 641 623 !> 642 624 !> @author J.Paul 643 !> @date November, 2013- Initial Version625 !> - November, 2013- Initial Version 644 626 !> 645 627 !> @param[in] td_var variable structure … … 777 759 !> 778 760 !> @author J.Paul 779 !> @date November, 2013- Initial Version761 !> - November, 2013- Initial Version 780 762 !> 781 763 !> @param[in] td_var variable structure … … 896 878 !> 897 879 !> @author J.Paul 898 !> @date November, 2013- Initial Version880 !> - November, 2013- Initial Version 899 881 !> 900 882 !> @param[in] td_var variable structure … … 915 897 IMPLICIT NONE 916 898 ! Argument 917 TYPE(TVAR) 918 TYPE(TMPP) 919 INTEGER(i4) 920 INTEGER(i4) 921 INTEGER(i4) 922 INTEGER(i4) 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 923 905 INTEGER(i4), DIMENSION(:,:), INTENT(IN) :: id_offset 924 906 INTEGER(i4), DIMENSION(:) , INTENT(IN) :: id_rho … … 1007 989 !> 1008 990 !> @author J.Paul 1009 !> @date November, 2013- Initial Version991 !> - November, 2013- Initial Version 1010 992 !> 1011 993 !> @param[inout] td_var variable structure … … 1091 1073 1092 1074 ! 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 ) 1094 1078 1095 1079 ! interpolate Bathymetry
Note: See TracChangeset
for help on using the changeset viewer.