Changeset 2753a5c in flexpart.git for src/netcdf_output_mod.f90


Ignore:
Timestamp:
Dec 20, 2018, 2:55:22 PM (5 years ago)
Author:
Ignacio Pisso <ip@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
Children:
7123c70
Parents:
df96ea65 (diff), 4ad96c5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

resolved merging conflicts with GFS branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/netcdf_output_mod.f90

    rae43937 r4ad96c5  
    6767                       ccn_aero,in_aero, & ! wetc_in,wetd_in, &
    6868                       reldiff,henry,f0,density,dquer,dsigma,dryvel,&
    69 !                       weightmolar,ohreact,spec_ass,kao,vsetaver,&
    70                        weightmolar,ohcconst,ohdconst,spec_ass,kao,vsetaver,&
     69                       weightmolar,ohcconst,ohdconst,vsetaver,&
    7170                       ! for concoutput_netcdf and concoutput_nest_netcdf
    7271                       nxmin1,nymin1,nz,oro,oron,rho,rhon,&
     
    114113  logical, parameter :: write_area = .false.
    115114
     115  ! coordinate transformation from internal to world coord
     116  real :: xp1,yp1,xp2,yp2
    116117contains
    117118
     
    512513        call nf90_err(nf90_put_att(ncid, sID, 'ohcconst', ohcconst(i)))
    513514        call nf90_err(nf90_put_att(ncid, sID, 'ohdconst', ohdconst(i)))
    514         call nf90_err(nf90_put_att(ncid, sID, 'kao', kao(i)))
    515515        call nf90_err(nf90_put_att(ncid, sID, 'vsetaver', vsetaver(i)))
    516         call nf90_err(nf90_put_att(ncid, sID, 'spec_ass', spec_ass(i)))
    517516
    518517        if (lnest) then
     
    535534        call nf90_err(nf90_put_att(ncid, sID, 'ohcconst', ohcconst(i)))
    536535        call nf90_err(nf90_put_att(ncid, sID, 'ohdconst', ohdconst(i)))
    537         call nf90_err(nf90_put_att(ncid, sID, 'kao', kao(i)))
    538536        call nf90_err(nf90_put_att(ncid, sID, 'vsetaver', vsetaver(i)))
    539         call nf90_err(nf90_put_att(ncid, sID, 'spec_ass', spec_ass(i)))
    540537
    541538        if (lnest) then
     
    673670       call nf90_err(nf90_put_var(ncid, relendID, ireleaseend(i), (/i/)))
    674671       call nf90_err(nf90_put_var(ncid, relkindzID, kindz(i), (/i/)))
    675        call nf90_err(nf90_put_var(ncid, rellng1ID, xpoint1(i), (/i/)))
    676        call nf90_err(nf90_put_var(ncid, rellng2ID, xpoint2(i), (/i/)))
    677        call nf90_err(nf90_put_var(ncid, rellat1ID, ypoint1(i), (/i/)))
    678        call nf90_err(nf90_put_var(ncid, rellat2ID, ypoint2(i), (/i/)))
     672       xp1=xpoint1(i)*dx+xlon0
     673       yp1=ypoint1(i)*dy+ylat0
     674       xp2=xpoint2(i)*dx+xlon0
     675       yp2=ypoint2(i)*dy+ylat0
     676       call nf90_err(nf90_put_var(ncid, rellng1ID, xp1, (/i/)))
     677       call nf90_err(nf90_put_var(ncid, rellng2ID, xp2, (/i/)))
     678       call nf90_err(nf90_put_var(ncid, rellat1ID, yp1, (/i/)))
     679       call nf90_err(nf90_put_var(ncid, rellat2ID, yp2, (/i/)))
    679680       call nf90_err(nf90_put_var(ncid, relzz1ID, zpoint1(i), (/i/)))
    680681       call nf90_err(nf90_put_var(ncid, relzz2ID, zpoint2(i), (/i/)))
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG