Changeset 660bcb7 in flexpart.git for src/readspecies.f90


Ignore:
Timestamp:
Nov 24, 2014, 1:36:35 PM (9 years ago)
Author:
Anne Fouilloux <annefou@…>
Branches:
NetCDF
Children:
3073eaf
Parents:
4bf4a69
Message:

NETCDF outputs from svn trunk (hasod: ADD: netcdf module file)
I did not take changes in advance.f90; it will be added later.
I also changed OPENs where status was set to new and access is set to APPEND (had problems on abel.uio.no with intel compilers 2013.sp1.3)
It should contains technical changes only and results should be identical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readspecies.f90

    rb4d29ce r660bcb7  
    23923920   continue
    240240
     241
     242  ! Read in daily and day-of-week variation of emissions, if available
     243  !*******************************************************************
     244  ! HSO: This is not yet implemented as namelist parameters
     245  ! default values set to 1
     246
     247  do j=1,24           ! initialize everything to no variation
     248    area_hour(i,j)=1.
     249    point_hour(i,j)=1.
     250  end do
     251  do j=1,7
     252    area_dow(i,j)=1.
     253    point_dow(i,j)=1.
     254  end do
     255
    241256  if (readerror.ne.0) then ! text format input
    242 
    243     ! Read in daily and day-of-week variation of emissions, if available
    244     !*******************************************************************
    245     ! HSO: This is not yet implemented as namelist parameters
    246 
    247     do j=1,24           ! initialize everything to no variation
    248       area_hour(i,j)=1.
    249       point_hour(i,j)=1.
    250     end do
    251     do j=1,7
    252       area_dow(i,j)=1.
    253       point_dow(i,j)=1.
    254     end do
    255257
    256258    read(unitspecies,*,end=22)
     
    269271  ! namelist output if requested
    270272  if (nmlout.eqv..true.) then
    271     open(unitspecies,file=path(2)(1:length(2))//'SPECIES_'//aspecnumb//'.namelist',access='append',status='new',err=1000)
     273    open(unitspecies,file=path(2)(1:length(2))//'SPECIES_'//aspecnumb//'.namelist',access='append',status='unknown',err=1000)
    272274    write(unitspecies,nml=species_params)
    273275    close(unitspecies)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG