Changeset dba4221 in flexpart.git for src/readwind_nests.f90


Ignore:
Timestamp:
Nov 9, 2022, 4:50:39 PM (18 months ago)
Author:
Pirmin Kaufmann <pirmin.kaufmann@…>
Branches:
bugfixes+enhancements
Children:
8ad70c7
Parents:
49e63b9
Message:

Bugfixes:

  • options/SPECIES/SPECIES_009: corrected wrong number format, replaced comma by decimal point
  • options/SPECIES/SPECIES_028: corrected wrong number format, moved sign of exponent to after the E
  • options/SPECIES/specoverview.f90: added namelist parameters that appear in SPECIES files but were missing here
  • src/FLEXPART.f90: replaced compiler-specific command line argument routines by standard Fortran intrinsic routines
  • src/FLEXPART_MPI.f90: ditto
  • src/gridcheck_ecmwf.f90: corrected handling of vertical levels when input files do not contain uppermost layers
  • src/gridcheck_nests.f90: ditto
  • src/readwind_ecmwf.f90: corrected handling of vertical levels when input files do not contain uppermost layers
  • readwind_ecmwf_mpi.f90: ditto

Code enhancements:

  • options/OUTGRID: added comments describing contents
  • options/SPECIES/SPECIES_*: aligned comments
  • options/SPECIES/specoverview.f90: removed commented lines, rectified lines indenting
  • src/FLEXPART.f90: rectified lines indenting, updated date in version string
  • src/FLEXPART_MPI.f90: ditto, and realigned code with src/FLEXPART.f90
  • src/gridcheck_*.f90: added code to write out name of file before it is opened (helps a lot when an input file causes troubles)
  • src/par_mod.f90: added comment explaining relevance of nuvzmax for GRIB input
  • src/readreleases.f90: write out warning if too few particles are used to randomize release
  • src/readspecies.f90: write out name of SPECIES file before it is read
  • src/readwind_*.f90: write out name of input file before opening it
  • src/writeheader_txt.f90: removed wrong comment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readwind_nests.f90

    r92fab65 rdba4221  
    7979  ! OPENING OF DATA FILE (GRIB CODE)
    8080  !
    81 
     81    write(*,*)   'Reading: '//path(numpath+2*(l-1)+1) &
     82         (1:length(numpath+2*(l-1)+1))//trim(wfnamen(l,indj))
    82835   call grib_open_file(ifile,path(numpath+2*(l-1)+1) &
    8384         (1:length(numpath+2*(l-1)+1))//trim(wfnamen(l,indj)),'r')
     
    365366  endif
    366367
    367   if(levdiff2.eq.0) then
    368     iwmax=nlev_ec+1
     368!  if(levdiff2.eq.0) then
     369    iwmax=iwmax+1
    369370    do i=0,nxn(l)-1
    370371      do j=0,nyn(l)-1
    371         wwhn(i,j,nlev_ec+1,l)=0.
     372        wwhn(i,j,iwmax,l)=0.
    372373      end do
    373374    end do
    374   endif
     375!  endif
    375376
    376377  do i=0,nxn(l)-1
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG