Issue #12 (casa_inout.f90): Column header line added to CASACNP pool initialization/restart files.
Subroutine casa_init(), that reads the initialization/restart file, assumes there is a column header
line and was updated to skip past the first line in the file. Subroutine write_cnpepool_header()
was created and added to casa_inout.f90 to write a column header line to .csv restart files.
Subroutine write_cnpflux_header() was created and added to casa_inout.f90 to write a column header
line .csv output flux files (for example cnpfluxend*.csv). The .csv flux output files are indeed
output only.
Issue #13 (casaoffline_driver_clm.f90): Size allocated to CORPSE output structure depends on size of met.nc file.
Read the number of years in the met.nc file to determine the number of timesteps needed in the
CORPSE output file data structures. Previously the allocation to these output data structures
assumed a max number of 7 years. This was an OK assumption when running a 2-degree grid because
the size of met.nc files could not exceed 2GB, which was 5-7 years, depending on the number of
variables strored in the met.nc files. Seven is not a sufficient number of years for the point
weather input files that may contain many more than 7 years wihout exceeding the maximum netcdf file size.
Issue #14 (corpse_cycle.f90, corpse_soil_carbon.f90): Updates to CORPSE fW calculation
Add parameter fWmin, the minimum soil moisture effect on decomposition, to the CORPSE parameter file.
Save CORPSE fW function (soil moisture effect on soil decomposition) to the output file.Issue #13 (casaoffline_driver_clm.f90): Size allocated to CORPSE output structure depends on size of met.nc file.
Issue #15 (mimics_cycle.f90, mimics_input.f90): Write MIMICS point output to .csv file
The subroutine WritePointMIMICS was created and added to mimics_inout.f90 to write daily output
from MIMICS point simulations to a .csv file. Some output code formerly in mimics_cycle.f90, was moved
to this subroutine.
Adds features related to single point runs.
Fixes bug in CASA-CNP phenology scheme (carried over from old code and manuscripts). Answer changes should be minor.
Issue #12 (casa_inout.f90): Column header line added to CASACNP pool initialization/restart files. Subroutine casa_init(), that reads the initialization/restart file, assumes there is a column header line and was updated to skip past the first line in the file. Subroutine write_cnpepool_header() was created and added to casa_inout.f90 to write a column header line to .csv restart files. Subroutine write_cnpflux_header() was created and added to casa_inout.f90 to write a column header line .csv output flux files (for example cnpfluxend*.csv). The .csv flux output files are indeed output only.
Issue #13 (casaoffline_driver_clm.f90): Size allocated to CORPSE output structure depends on size of met.nc file. Read the number of years in the met.nc file to determine the number of timesteps needed in the CORPSE output file data structures. Previously the allocation to these output data structures assumed a max number of 7 years. This was an OK assumption when running a 2-degree grid because the size of met.nc files could not exceed 2GB, which was 5-7 years, depending on the number of variables strored in the met.nc files. Seven is not a sufficient number of years for the point weather input files that may contain many more than 7 years wihout exceeding the maximum netcdf file size.
Issue #14 (corpse_cycle.f90, corpse_soil_carbon.f90): Updates to CORPSE fW calculation Add parameter fWmin, the minimum soil moisture effect on decomposition, to the CORPSE parameter file. Save CORPSE fW function (soil moisture effect on soil decomposition) to the output file.Issue #13 (casaoffline_driver_clm.f90): Size allocated to CORPSE output structure depends on size of met.nc file.
Issue #15 (mimics_cycle.f90, mimics_input.f90): Write MIMICS point output to .csv file The subroutine WritePointMIMICS was created and added to mimics_inout.f90 to write daily output from MIMICS point simulations to a .csv file. Some output code formerly in mimics_cycle.f90, was moved to this subroutine.