Changeset dba4221 in flexpart.git for src/readwind_ecmwf.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_ecmwf.f90

    r92fab65 rdba4221  
    103103! OPENING OF DATA FILE (GRIB CODE)
    104104!
     105  write(*,*)   'Reading: '//path(3)(1:length(3)) &
     106       //trim(wfname(indj))
    1051075 call grib_open_file(ifile,path(3)(1:length(3)) &
    106108       //trim(wfname(indj)),'r',iret)
     
    386388  endif
    387389
    388   if(levdiff2.eq.0) then
    389     iwmax=nlev_ec+1
     390!  if(levdiff2.eq.0) then
     391    iwmax=iwmax+1
    390392    do i=0,nxmin1
    391393      do j=0,nymin1
    392         wwh(i,j,nlev_ec+1)=0.
     394        wwh(i,j,iwmax)=0.
    393395      end do
    394396    end do
    395   endif
     397!  endif
    396398
    397399! For global fields, assign the leftmost data column also to the rightmost
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG