Changeset 4c64400 in flexpart.git for src/netcdf_output_mod.f90
- Timestamp:
- Nov 8, 2016, 4:42:27 PM (7 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- c8fc724
- Parents:
- 16b61a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/netcdf_output_mod.f90
rf28aa0a r4c64400 19 19 !********************************************************************** 20 20 21 21 22 !***************************************************************************** 22 23 ! * … … 24 25 ! residence time and wet and dry deposition output. * 25 26 ! * 26 ! - writeheader_netcdf generates file including all information previously 27 ! - writeheader_netcdf generates file including all information previously * 27 28 ! stored in separate header files * 28 ! - concoutput_netcdf write concentration output and wet and dry deposition 29 ! - concoutput_netcdf write concentration output and wet and dry deposition * 29 30 ! * 30 31 ! Author: D. Brunner * … … 893 894 gridsigmatotal=0. 894 895 gridtotalunc=0. 895 wetgridtotal=0. 896 wetgridsigmatotal=0. 897 wetgridtotalunc=0. 898 drygridtotal=0. 899 drygridsigmatotal=0. 900 drygridtotalunc=0. 896 wetgridtotal=0._dep_prec 897 wetgridsigmatotal=0._dep_prec 898 wetgridtotalunc=0._dep_prec 899 drygridtotal=0._dep_prec 900 drygridsigmatotal=0._dep_prec 901 drygridtotalunc=0._dep_prec 901 902 902 903 do ks=1,nspec … … 922 923 wetgridsigma(ix,jy),nclassunc) 923 924 ! Multiply by number of classes to get total concentration 924 wetgrid(ix,jy)=wetgrid(ix,jy)*real(nclassunc,kind= dep_prec)925 wetgrid(ix,jy)=wetgrid(ix,jy)*real(nclassunc,kind=sp) 925 926 wetgridtotal=wetgridtotal+wetgrid(ix,jy) 926 927 ! Calculate standard deviation of the mean … … 946 947 drygridsigma(ix,jy),nclassunc) 947 948 ! Multiply by number of classes to get total concentration 948 drygrid(ix,jy)=drygrid(ix,jy)*real(nclassunc )949 drygrid(ix,jy)=drygrid(ix,jy)*real(nclassunc,kind=sp) 949 950 drygridtotal=drygridtotal+drygrid(ix,jy) 950 951 ! Calculate standard deviation of the mean 951 952 drygridsigma(ix,jy)= & 952 953 drygridsigma(ix,jy)* & 953 sqrt(real(nclassunc ))954 sqrt(real(nclassunc, kind=dep_prec)) 954 955 drygridsigmatotal=drygridsigmatotal+ & 955 956 drygridsigma(ix,jy) … … 1054 1055 if (wetgridtotal.gt.0.) wetgridtotalunc=wetgridsigmatotal/ & 1055 1056 wetgridtotal 1056 if (drygridtotal.gt.0.) drygridtotalunc= drygridsigmatotal/ &1057 drygridtotal 1057 if (drygridtotal.gt.0.) drygridtotalunc=real(drygridsigmatotal/ & 1058 drygridtotal, kind=dep_prec) 1058 1059 1059 1060 ! Dump of receptor concentrations … … 1298 1299 wetgridsigma(ix,jy)= & 1299 1300 wetgridsigma(ix,jy)* & 1300 sqrt(real(nclassunc ))1301 sqrt(real(nclassunc,kind=dep_prec)) 1301 1302 endif 1302 1303 … … 1319 1320 drygridsigma(ix,jy)= & 1320 1321 drygridsigma(ix,jy)* & 1321 sqrt(real(nclassunc ))1322 sqrt(real(nclassunc,kind=dep_prec)) 1322 1323 endif 1323 1324
Note: See TracChangeset
for help on using the changeset viewer.