Skip to content
Snippets Groups Projects
Commit 227f4939 authored by ronesy's avatar ronesy
Browse files

minor bug fix mod_save.f90 for saving posterior state vector for use of const_out

parent e9f3f842
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,8 @@ module mod_save ...@@ -129,6 +129,8 @@ module mod_save
type (fluxes_t), intent(in) :: fluxes type (fluxes_t), intent(in) :: fluxes
type (states_t), intent(in) :: states type (states_t), intent(in) :: states
integer :: ierr, n
if ( config%spec.eq.'co2' ) then if ( config%spec.eq.'co2' ) then
call save_co2(files, config, fluxes, states) call save_co2(files, config, fluxes, states)
call save_nee_hourly(files, fluxes, states) call save_nee_hourly(files, fluxes, states)
...@@ -459,7 +461,6 @@ module mod_save ...@@ -459,7 +461,6 @@ module mod_save
integer :: pri_varid, pos_varid, epri_varid, epos_varid, xpos_varid integer :: pri_varid, pos_varid, epri_varid, epos_varid, xpos_varid
integer :: mcpri_varid, mcpos_varid integer :: mcpri_varid, mcpos_varid
integer :: ix, jy, n, ix0, jy0, nb integer :: ix, jy, n, ix0, jy0, nb
integer :: ierr
real(kind=8), dimension(ntstate) :: timeout real(kind=8), dimension(ntstate) :: timeout
real, dimension(nxregrid,nyregrid,ntstate) :: fpri, fpos, epri, epos, xpos, focn_reg, mcpri, mcpos real, dimension(nxregrid,nyregrid,ntstate) :: fpri, fpos, epri, epos, xpos, focn_reg, mcpri, mcpos
real :: area, totpos real :: area, totpos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment