[e200b7a] | 1 | !********************************************************************** |
---|
| 2 | ! Copyright 1998,1999,2000,2001,2002,2005,2007,2008,2009,2010 * |
---|
| 3 | ! Andreas Stohl, Petra Seibert, A. Frank, Gerhard Wotawa, * |
---|
| 4 | ! Caroline Forster, Sabine Eckhardt, John Burkhart, Harald Sodemann * |
---|
| 5 | ! * |
---|
| 6 | ! This file is part of FLEXPART. * |
---|
| 7 | ! * |
---|
| 8 | ! FLEXPART is free software: you can redistribute it and/or modify * |
---|
| 9 | ! it under the terms of the GNU General Public License as published by* |
---|
| 10 | ! the Free Software Foundation, either version 3 of the License, or * |
---|
| 11 | ! (at your option) any later version. * |
---|
| 12 | ! * |
---|
| 13 | ! FLEXPART is distributed in the hope that it will be useful, * |
---|
| 14 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of * |
---|
| 15 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
---|
| 16 | ! GNU General Public License for more details. * |
---|
| 17 | ! * |
---|
| 18 | ! You should have received a copy of the GNU General Public License * |
---|
| 19 | ! along with FLEXPART. If not, see <http://www.gnu.org/licenses/>. * |
---|
| 20 | !********************************************************************** |
---|
| 21 | |
---|
| 22 | subroutine readspecies(id_spec,pos_spec) |
---|
| 23 | |
---|
| 24 | !***************************************************************************** |
---|
| 25 | ! * |
---|
| 26 | ! This routine reads names and physical constants of chemical species/ * |
---|
| 27 | ! radionuclides given in the parameter pos_spec * |
---|
| 28 | ! * |
---|
| 29 | ! Author: A. Stohl * |
---|
| 30 | ! * |
---|
| 31 | ! 11 July 1996 * |
---|
[8a65cb0] | 32 | ! * |
---|
[4fbe7a5] | 33 | ! Changes: * |
---|
| 34 | ! N. Kristiansen, 31.01.2013: Including parameters for in-cloud scavenging * |
---|
| 35 | ! * |
---|
[b4d29ce] | 36 | ! HSO, 13 August 2013 |
---|
| 37 | ! added optional namelist input |
---|
| 38 | ! * |
---|
[e200b7a] | 39 | !***************************************************************************** |
---|
| 40 | ! * |
---|
| 41 | ! Variables: * |
---|
| 42 | ! decaytime(maxtable) half time for radiological decay * |
---|
| 43 | ! specname(maxtable) names of chemical species, radionuclides * |
---|
[4fbe7a5] | 44 | ! weta, wetb Parameters for determining below-cloud scavenging * |
---|
| 45 | ! weta_in Parameter for determining in-cloud scavenging * |
---|
| 46 | ! wetb_in Parameter for determining in-cloud scavenging * |
---|
[8a65cb0] | 47 | ! ohcconst OH reaction rate constant C * |
---|
| 48 | ! ohdconst OH reaction rate constant D * |
---|
[e200b7a] | 49 | ! id_spec SPECIES number as referenced in RELEASE file * |
---|
| 50 | ! id_pos position where SPECIES data shall be stored * |
---|
| 51 | ! * |
---|
| 52 | ! Constants: * |
---|
| 53 | ! * |
---|
| 54 | !***************************************************************************** |
---|
| 55 | |
---|
| 56 | use par_mod |
---|
| 57 | use com_mod |
---|
| 58 | |
---|
| 59 | implicit none |
---|
| 60 | |
---|
| 61 | integer :: i, pos_spec,j |
---|
| 62 | integer :: idow,ihour,id_spec |
---|
| 63 | character(len=3) :: aspecnumb |
---|
| 64 | logical :: spec_found |
---|
| 65 | |
---|
[b4d29ce] | 66 | character(len=16) :: pspecies |
---|
| 67 | real :: pdecay, pweta, pwetb, preldiff, phenry, pf0, pdensity, pdquer |
---|
[8a65cb0] | 68 | real :: pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pspec_ass, pkao |
---|
[b4d29ce] | 69 | real :: pweta_in, pwetb_in, pwetc_in, pwetd_in |
---|
| 70 | integer :: readerror |
---|
| 71 | |
---|
[8a65cb0] | 72 | ! declare namelist |
---|
[b4d29ce] | 73 | namelist /species_params/ & |
---|
[8a65cb0] | 74 | pspecies, pdecay, pweta, pwetb, & |
---|
| 75 | pweta_in, pwetb_in, pwetc_in, pwetd_in, & |
---|
| 76 | preldiff, phenry, pf0, pdensity, pdquer, & |
---|
| 77 | pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pspec_ass, pkao |
---|
[b4d29ce] | 78 | |
---|
| 79 | pspecies=" " |
---|
| 80 | pdecay=-999.9 |
---|
| 81 | pweta=-9.9E-09 |
---|
| 82 | pwetb=0.0 |
---|
| 83 | pweta_in=-9.9E-09 |
---|
| 84 | pwetb_in=-9.9E-09 |
---|
[8a65cb0] | 85 | ! pwetc_in=-9.9E-09 |
---|
| 86 | ! pwetd_in=-9.9E-09 |
---|
[b4d29ce] | 87 | preldiff=-9.9 |
---|
| 88 | phenry=0.0 |
---|
| 89 | pf0=0.0 |
---|
| 90 | pdensity=-9.9E09 |
---|
| 91 | pdquer=0.0 |
---|
| 92 | pdsigma=0.0 |
---|
| 93 | pdryvel=-9.99 |
---|
[8a65cb0] | 94 | pohcconst=-9.99 |
---|
| 95 | pohdconst=-9.9E-09 |
---|
[b4d29ce] | 96 | pspec_ass=-9 |
---|
| 97 | pkao=-99.99 |
---|
| 98 | pweightmolar=-789.0 ! read failure indicator value |
---|
| 99 | |
---|
[8a65cb0] | 100 | ! Open the SPECIES file and read species names and properties |
---|
| 101 | !************************************************************ |
---|
[e200b7a] | 102 | specnum(pos_spec)=id_spec |
---|
| 103 | write(aspecnumb,'(i3.3)') specnum(pos_spec) |
---|
[b4d29ce] | 104 | open(unitspecies,file=path(1)(1:length(1))//'SPECIES/SPECIES_'//aspecnumb,status='old',form='formatted',err=998) |
---|
[8a65cb0] | 105 | !write(*,*) 'reading SPECIES',specnum(pos_spec) |
---|
[e200b7a] | 106 | |
---|
| 107 | ASSSPEC=.FALSE. |
---|
| 108 | |
---|
[8a65cb0] | 109 | ! try namelist input |
---|
[b4d29ce] | 110 | read(unitspecies,species_params,iostat=readerror) |
---|
| 111 | close(unitspecies) |
---|
[8a65cb0] | 112 | |
---|
[b4d29ce] | 113 | if ((pweightmolar.eq.-789.0).or.(readerror.ne.0)) then ! no namelist found |
---|
| 114 | |
---|
| 115 | readerror=1 |
---|
| 116 | |
---|
| 117 | open(unitspecies,file=path(1)(1:length(1))//'SPECIES/SPECIES_'//aspecnumb,status='old',err=998) |
---|
| 118 | |
---|
| 119 | do i=1,6 |
---|
| 120 | read(unitspecies,*) |
---|
| 121 | end do |
---|
[e200b7a] | 122 | |
---|
| 123 | read(unitspecies,'(a10)',end=22) species(pos_spec) |
---|
[8a65cb0] | 124 | ! write(*,*) species(pos_spec) |
---|
[e200b7a] | 125 | read(unitspecies,'(f18.1)',end=22) decay(pos_spec) |
---|
[8a65cb0] | 126 | ! write(*,*) decay(pos_spec) |
---|
[e200b7a] | 127 | read(unitspecies,'(e18.1)',end=22) weta(pos_spec) |
---|
[8a65cb0] | 128 | ! write(*,*) weta(pos_spec) |
---|
[e200b7a] | 129 | read(unitspecies,'(f18.2)',end=22) wetb(pos_spec) |
---|
[8a65cb0] | 130 | ! write(*,*) wetb(pos_spec) |
---|
| 131 | |
---|
| 132 | !*** NIK 31.01.2013: including in-cloud scavening parameters |
---|
| 133 | read(unitspecies,'(e18.1)',end=22) weta_in(pos_spec) |
---|
| 134 | ! write(*,*) weta_in(pos_spec) |
---|
| 135 | read(unitspecies,'(f18.2)',end=22) wetb_in(pos_spec) |
---|
| 136 | ! write(*,*) wetb_in(pos_spec) |
---|
| 137 | ! read(unitspecies,'(f18.2)',end=22) wetc_in(pos_spec) |
---|
| 138 | ! write(*,*) wetc_in(pos_spec) |
---|
| 139 | ! read(unitspecies,'(f18.2)',end=22) wetd_in(pos_spec) |
---|
| 140 | ! write(*,*) wetd_in(pos_spec) |
---|
[4fbe7a5] | 141 | |
---|
[e200b7a] | 142 | read(unitspecies,'(f18.1)',end=22) reldiff(pos_spec) |
---|
[8a65cb0] | 143 | ! write(*,*) reldiff(pos_spec) |
---|
[e200b7a] | 144 | read(unitspecies,'(e18.1)',end=22) henry(pos_spec) |
---|
[8a65cb0] | 145 | ! write(*,*) henry(pos_spec) |
---|
[e200b7a] | 146 | read(unitspecies,'(f18.1)',end=22) f0(pos_spec) |
---|
[8a65cb0] | 147 | ! write(*,*) f0(pos_spec) |
---|
[e200b7a] | 148 | read(unitspecies,'(e18.1)',end=22) density(pos_spec) |
---|
[8a65cb0] | 149 | ! write(*,*) density(pos_spec) |
---|
[e200b7a] | 150 | read(unitspecies,'(e18.1)',end=22) dquer(pos_spec) |
---|
[8a65cb0] | 151 | ! write(*,*) dquer(pos_spec) |
---|
[e200b7a] | 152 | read(unitspecies,'(e18.1)',end=22) dsigma(pos_spec) |
---|
[8a65cb0] | 153 | ! write(*,*) dsigma(pos_spec) |
---|
[e200b7a] | 154 | read(unitspecies,'(f18.2)',end=22) dryvel(pos_spec) |
---|
[8a65cb0] | 155 | ! write(*,*) dryvel(pos_spec) |
---|
[e200b7a] | 156 | read(unitspecies,'(f18.2)',end=22) weightmolar(pos_spec) |
---|
[8a65cb0] | 157 | ! write(*,*) weightmolar(pos_spec) |
---|
| 158 | read(unitspecies,'(e18.2)',end=22) ohcconst(pos_spec) |
---|
| 159 | ! write(*,*) ohcconst(pos_spec) |
---|
| 160 | read(unitspecies,'(f8.2)',end=22) ohdconst(pos_spec) |
---|
| 161 | ! write(*,*) ohdconst(pos_spec) |
---|
[e200b7a] | 162 | read(unitspecies,'(i18)',end=22) spec_ass(pos_spec) |
---|
[8a65cb0] | 163 | ! write(*,*) spec_ass(pos_spec) |
---|
[e200b7a] | 164 | read(unitspecies,'(f18.2)',end=22) kao(pos_spec) |
---|
[8a65cb0] | 165 | ! write(*,*) kao(pos_spec) |
---|
[e200b7a] | 166 | |
---|
[b4d29ce] | 167 | pspecies=species(pos_spec) |
---|
| 168 | pdecay=decay(pos_spec) |
---|
| 169 | pweta=weta(pos_spec) |
---|
| 170 | pwetb=wetb(pos_spec) |
---|
| 171 | pweta_in=weta_in(pos_spec) |
---|
| 172 | pwetb_in=wetb_in(pos_spec) |
---|
[8a65cb0] | 173 | ! pwetc_in=wetc_in(pos_spec) |
---|
| 174 | ! pwetd_in=wetd_in(pos_spec) |
---|
[b4d29ce] | 175 | preldiff=reldiff(pos_spec) |
---|
| 176 | phenry=henry(pos_spec) |
---|
| 177 | pf0=f0(pos_spec) |
---|
| 178 | pdensity=density(pos_spec) |
---|
| 179 | pdquer=dquer(pos_spec) |
---|
| 180 | pdsigma=dsigma(pos_spec) |
---|
| 181 | pdryvel=dryvel(pos_spec) |
---|
| 182 | pweightmolar=weightmolar(pos_spec) |
---|
[8a65cb0] | 183 | pohcconst=ohcconst(pos_spec) |
---|
| 184 | pohdconst=ohdconst(pos_spec) |
---|
[b4d29ce] | 185 | pspec_ass=spec_ass(pos_spec) |
---|
| 186 | pkao=kao(pos_spec) |
---|
[e200b7a] | 187 | |
---|
[b4d29ce] | 188 | else |
---|
| 189 | |
---|
| 190 | species(pos_spec)=pspecies |
---|
| 191 | decay(pos_spec)=pdecay |
---|
| 192 | weta(pos_spec)=pweta |
---|
| 193 | wetb(pos_spec)=pwetb |
---|
| 194 | weta_in(pos_spec)=pweta_in |
---|
| 195 | wetb_in(pos_spec)=pwetb_in |
---|
[8a65cb0] | 196 | ! wetc_in(pos_spec)=pwetc_in |
---|
| 197 | ! wetd_in(pos_spec)=pwetd_in |
---|
[b4d29ce] | 198 | reldiff(pos_spec)=preldiff |
---|
| 199 | henry(pos_spec)=phenry |
---|
| 200 | f0(pos_spec)=pf0 |
---|
| 201 | density(pos_spec)=pdensity |
---|
| 202 | dquer(pos_spec)=pdquer |
---|
| 203 | dsigma(pos_spec)=pdsigma |
---|
| 204 | dryvel(pos_spec)=pdryvel |
---|
| 205 | weightmolar(pos_spec)=pweightmolar |
---|
[8a65cb0] | 206 | ohcconst(pos_spec)=pohcconst |
---|
| 207 | ohdconst(pos_spec)=pohdconst |
---|
[b4d29ce] | 208 | spec_ass(pos_spec)=pspec_ass |
---|
| 209 | kao(pos_spec)=pkao |
---|
| 210 | |
---|
| 211 | endif |
---|
[e200b7a] | 212 | |
---|
[b4d29ce] | 213 | i=pos_spec |
---|
[e200b7a] | 214 | |
---|
[8a65cb0] | 215 | !NIK 16.02.2015 |
---|
| 216 | ! Check scavenging parameters given in SPECIES file |
---|
| 217 | if (dquer(pos_spec).gt.0) then !is particle |
---|
[5f9d14a] | 218 | if (lroot) then |
---|
| 219 | write(*,'(a,f5.2)') ' Particle below-cloud scavenging parameter A & |
---|
| 220 | &(Rain collection efficiency) ', weta(pos_spec) |
---|
| 221 | write(*,'(a,f5.2)') ' Particle below-cloud scavenging parameter B & |
---|
| 222 | &(Snow collection efficiency) ', wetb(pos_spec) |
---|
| 223 | end if |
---|
[8a65cb0] | 224 | if (weta(pos_spec).gt.1.0 .or. wetb(pos_spec).gt.1.0) then |
---|
[5f9d14a] | 225 | if (lroot) then |
---|
| 226 | write(*,*) '*******************************************' |
---|
| 227 | write(*,*) ' WARNING: Particle below-cloud scavenging parameter A or B & |
---|
| 228 | &is out of likely range' |
---|
| 229 | write(*,*) ' Likely range is 0.0-1.0' |
---|
| 230 | write(*,*) '*******************************************' |
---|
| 231 | end if |
---|
[8a65cb0] | 232 | endif |
---|
[5f9d14a] | 233 | if (lroot) then |
---|
| 234 | write(*,'(a,f5.2)') ' Particle in-cloud scavenging parameter Ai & |
---|
| 235 | &(CCN efficiency) ', weta_in(pos_spec) |
---|
| 236 | write(*,'(a,f5.2)') ' Particle in-cloud scavenging parameter Bi & |
---|
| 237 | &(IN efficiency) ', wetb_in(pos_spec) |
---|
| 238 | end if |
---|
| 239 | if (weta_in(pos_spec).gt.1.0 .or. weta_in(pos_spec).lt.0.7) then |
---|
| 240 | if (lroot) then |
---|
| 241 | write(*,*) '*******************************************' |
---|
| 242 | write(*,*) ' WARNING: Particle in-cloud scavenging parameter A is out of likely range' |
---|
| 243 | write(*,*) ' The default value is 0.9 for CCN ' |
---|
| 244 | write(*,*) '*******************************************' |
---|
| 245 | end if |
---|
[8a65cb0] | 246 | endif |
---|
| 247 | if (wetb_in(pos_spec).gt.0.2 .or. wetb_in(pos_spec).lt.0.01) then |
---|
[5f9d14a] | 248 | if (lroot) then |
---|
| 249 | write(*,*) '*******************************************' |
---|
| 250 | write(*,*) ' WARNING: Particle in-cloud scavenging parameter B is out of likely range' |
---|
| 251 | write(*,*) ' The default value is 0.1 for IN ' |
---|
| 252 | write(*,*) '*******************************************' |
---|
| 253 | end if |
---|
[8a65cb0] | 254 | endif |
---|
| 255 | |
---|
| 256 | else !is gas |
---|
[5f9d14a] | 257 | if (lroot) then |
---|
| 258 | write(*,'(a,f5.2)') ' Gas below-cloud scavenging parameter A ', weta(pos_spec) |
---|
| 259 | write(*,'(a,f5.2)') ' Gas below-cloud scavenging parameter B ', wetb(pos_spec) |
---|
| 260 | write(*,*) ' Gas in-cloud scavenging uses default values as in Hertel et al 1995' |
---|
[8a65cb0] | 261 | end if |
---|
| 262 | if (weta(pos_spec).gt.0.) then !if wet deposition is turned on |
---|
| 263 | if (weta(pos_spec).gt.1E-04 .or. weta(pos_spec).lt.1E-09) then |
---|
[5f9d14a] | 264 | if (lroot) then |
---|
| 265 | write(*,*) '*******************************************' |
---|
| 266 | write(*,*) ' WARNING: Gas below-cloud scavenging parameter A is out of likely range' |
---|
| 267 | write(*,*) ' Likely range is 1E-04 to 1E-08 (see Hertel et al 1995)' |
---|
| 268 | write(*,*) '*******************************************' |
---|
| 269 | end if |
---|
| 270 | endif |
---|
| 271 | end if |
---|
| 272 | if (wetb(pos_spec).gt.0.) then !if wet deposition is turned on |
---|
| 273 | if (wetb(pos_spec).gt.0.8 .or. wetb(pos_spec).lt.0.6) then |
---|
| 274 | if (lroot) then |
---|
| 275 | write(*,*) '*******************************************' |
---|
| 276 | write(*,*) ' WARNING: Gas below-cloud scavenging parameter B is out of likely range' |
---|
| 277 | write(*,*) ' Likely range is 0.6 to 0.8 (see Hertel et al 1995)' |
---|
| 278 | write(*,*) '*******************************************' |
---|
| 279 | end if |
---|
[8a65cb0] | 280 | endif |
---|
| 281 | end if |
---|
| 282 | endif |
---|
| 283 | |
---|
| 284 | |
---|
[b4d29ce] | 285 | if ((weta(pos_spec).gt.0).and.(henry(pos_spec).le.0)) then |
---|
[8a65cb0] | 286 | if (dquer(pos_spec).le.0) goto 996 ! no particle, no henry set |
---|
[b4d29ce] | 287 | endif |
---|
| 288 | |
---|
| 289 | if (spec_ass(pos_spec).gt.0) then |
---|
| 290 | spec_found=.FALSE. |
---|
| 291 | do j=1,pos_spec-1 |
---|
| 292 | if (spec_ass(pos_spec).eq.specnum(j)) then |
---|
| 293 | spec_ass(pos_spec)=j |
---|
| 294 | spec_found=.TRUE. |
---|
| 295 | ASSSPEC=.TRUE. |
---|
| 296 | endif |
---|
| 297 | end do |
---|
| 298 | if (spec_found.eqv..FALSE.) then |
---|
| 299 | goto 997 |
---|
[e200b7a] | 300 | endif |
---|
[b4d29ce] | 301 | endif |
---|
| 302 | |
---|
| 303 | if (dsigma(i).eq.1.) dsigma(i)=1.0001 ! avoid floating exception |
---|
| 304 | if (dsigma(i).eq.0.) dsigma(i)=1.0001 ! avoid floating exception |
---|
| 305 | |
---|
| 306 | if ((reldiff(i).gt.0.).and.(density(i).gt.0.)) then |
---|
| 307 | write(*,*) '#### FLEXPART MODEL ERROR! FILE "SPECIES" ####' |
---|
| 308 | write(*,*) '#### IS CORRUPT. SPECIES CANNOT BE BOTH ####' |
---|
| 309 | write(*,*) '#### PARTICLE AND GAS. ####' |
---|
| 310 | write(*,*) '#### SPECIES NUMBER',aspecnumb |
---|
| 311 | stop |
---|
| 312 | endif |
---|
[8a65cb0] | 313 | 20 continue |
---|
[e200b7a] | 314 | |
---|
| 315 | |
---|
[8a65cb0] | 316 | ! Read in daily and day-of-week variation of emissions, if available |
---|
| 317 | !******************************************************************* |
---|
| 318 | ! HSO: This is not yet implemented as namelist parameters |
---|
[e200b7a] | 319 | |
---|
[8a65cb0] | 320 | do j=1,24 ! initialize everything to no variation |
---|
| 321 | area_hour(i,j)=1. |
---|
| 322 | point_hour(i,j)=1. |
---|
| 323 | end do |
---|
| 324 | do j=1,7 |
---|
| 325 | area_dow(i,j)=1. |
---|
| 326 | point_dow(i,j)=1. |
---|
| 327 | end do |
---|
| 328 | |
---|
| 329 | if (readerror.ne.0) then ! text format input |
---|
[e200b7a] | 330 | |
---|
| 331 | read(unitspecies,*,end=22) |
---|
| 332 | do j=1,24 ! 24 hours, starting with 0-1 local time |
---|
| 333 | read(unitspecies,*) ihour,area_hour(i,j),point_hour(i,j) |
---|
| 334 | end do |
---|
| 335 | read(unitspecies,*) |
---|
| 336 | do j=1,7 ! 7 days of the week, starting with Monday |
---|
| 337 | read(unitspecies,*) idow,area_dow(i,j),point_dow(i,j) |
---|
| 338 | end do |
---|
| 339 | |
---|
[b4d29ce] | 340 | endif |
---|
| 341 | |
---|
| 342 | 22 close(unitspecies) |
---|
[e200b7a] | 343 | |
---|
[8a65cb0] | 344 | ! namelist output if requested |
---|
| 345 | if (nmlout.and.lroot) then |
---|
| 346 | open(unitspecies,file=path(2)(1:length(2))//'SPECIES_'//aspecnumb//'.namelist',access='append',status='replace',err=1000) |
---|
[b4d29ce] | 347 | write(unitspecies,nml=species_params) |
---|
| 348 | close(unitspecies) |
---|
| 349 | endif |
---|
| 350 | |
---|
| 351 | return |
---|
[e200b7a] | 352 | |
---|
[8a65cb0] | 353 | 996 write(*,*) '#####################################################' |
---|
[e200b7a] | 354 | write(*,*) '#### FLEXPART MODEL ERROR! #### ' |
---|
| 355 | write(*,*) '#### WET DEPOSITION SWITCHED ON, BUT NO HENRYS #### ' |
---|
| 356 | write(*,*) '#### CONSTANT IS SET ####' |
---|
| 357 | write(*,*) '#### PLEASE MODIFY SPECIES DESCR. FILE! #### ' |
---|
| 358 | write(*,*) '#####################################################' |
---|
| 359 | stop |
---|
| 360 | |
---|
| 361 | |
---|
[8a65cb0] | 362 | 997 write(*,*) '#####################################################' |
---|
[e200b7a] | 363 | write(*,*) '#### FLEXPART MODEL ERROR! #### ' |
---|
| 364 | write(*,*) '#### THE ASSSOCIATED SPECIES HAS TO BE DEFINED #### ' |
---|
| 365 | write(*,*) '#### BEFORE THE ONE WHICH POINTS AT IT #### ' |
---|
| 366 | write(*,*) '#### PLEASE CHANGE ORDER IN RELEASES OR ADD #### ' |
---|
| 367 | write(*,*) '#### THE ASSOCIATED SPECIES IN RELEASES #### ' |
---|
| 368 | write(*,*) '#####################################################' |
---|
| 369 | stop |
---|
| 370 | |
---|
| 371 | |
---|
[8a65cb0] | 372 | 998 write(*,*) '#####################################################' |
---|
[e200b7a] | 373 | write(*,*) '#### FLEXPART MODEL ERROR! #### ' |
---|
| 374 | write(*,*) '#### THE SPECIES FILE FOR SPECIES ', id_spec |
---|
| 375 | write(*,*) '#### CANNOT BE FOUND: CREATE FILE' |
---|
| 376 | write(*,*) '#### ',path(1)(1:length(1)),'SPECIES/SPECIES_',aspecnumb |
---|
| 377 | write(*,*) '#####################################################' |
---|
| 378 | stop |
---|
| 379 | |
---|
[b4d29ce] | 380 | 1000 write(*,*) ' #### FLEXPART MODEL ERROR! FILE "SPECIES_',aspecnumb,'.namelist' |
---|
| 381 | write(*,*) ' #### CANNOT BE OPENED IN THE DIRECTORY #### ' |
---|
| 382 | write(*,'(a)') path(2)(1:length(2)) |
---|
| 383 | stop |
---|
[e200b7a] | 384 | |
---|
| 385 | end subroutine readspecies |
---|