Changeset 2432 for trunk/LMDZ.MARS/util/zrecast.F90
- Timestamp:
- Nov 14, 2020, 3:27:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/zrecast.F90
r2401 r2432 61 61 ! TN 01/2013 : Adapted for large output files with at least 2 variables > 2 GiB 62 62 ! TN 10/2013 : Read and write controle field, if available 63 ! FF 10/2020 : Force interpolation in log space for variable starting by "rho" 63 64 ! 64 65 implicit none … … 94 95 integer,dimension(3) :: surfdatashape ! shape of 3D (surface+time) datasets 95 96 96 real :: miss_val= -9.99e+33! special "missing value" to specify missing data97 real,parameter :: miss_val_def= -9.99e+33! default value for "missing value"97 real :: miss_val= 1.E+20 ! special "missing value" to specify missing data 98 real,parameter :: miss_val_def= 1.E+20 ! default value for "missing value" 98 99 character (len=64), dimension(:), allocatable :: var 99 100 ! var(): names of variables that will be processed … … 1809 1810 ! interpolate dataset onto new grid 1810 1811 ! check if variable is "rho" (to set flag for interpolation below) 1811 if (var(i) .eq.'rho') then1812 if (var(i)(1:3).eq.'rho') then 1812 1813 j=1 1814 write(*,*) trim(var(i)), ' is interpolated in log scale' 1813 1815 else 1814 1816 j=0 … … 1864 1866 ! interpolate dataset onto new grid 1865 1867 ! check if variable is "rho" (to set flag for interpolation below) 1866 if (var(i) .eq.'rho') then1868 if (var(i)(1:3).eq.'rho') then 1867 1869 j=1 1870 write(*,*) trim(var(i)), ' is interpolated in log scale' 1868 1871 else 1869 1872 j=0 … … 1919 1922 ! interpolate dataset onto new grid 1920 1923 ! check if variable is "rho" (to set flag for interpolation below) 1921 if (var(i) .eq.'rho') then1924 if (var(i)(1:3).eq.'rho') then 1922 1925 j=1 1926 write(*,*) trim(var(i)), ' is interpolated in log scale' 1923 1927 else 1924 1928 j=0
Note: See TracChangeset
for help on using the changeset viewer.