Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to the code and arrangement to directories, calibration version, etc. #14

Merged
merged 28 commits into from
Dec 13, 2012

Conversation

tobeycarman
Copy link
Member

This pull request has a few major parts:

  1. Updated the code with Fengming's "DOSTEMv1.2" from the aeshna cluster

  2. Changes the build steps for the calibration version so that the C++ shared library is built using the source code for the extrapolation version. This means there is no longer any need to copy files around in order to keep the calibration version in sync with the extrapolation version.

  3. Includes the test data and configurations that Helene has provided.

The history is messy due to some experimenting with rebasing that resulted in a bunch of duplicated commits.

Not sure where these come into play. They don't seem
to be imported anywhere, and I searched the codebase
for references to them and can't find any.
This brings in changes that were present on the cluster
in the /home/stuff/fengming/TEMmodules/DOSTEM1.2 folder
as of 11/19/2012. These changes allow for including 4
tundras and 3 boreal forests.
**NOTE**: The code may or may not run with the test files at
this point -- the various config files need to be updated.


Notes from Fengming's email:
So, please remember that: vegetation ID has been changed
as following:
0 – graminoid tundra;
1 – wet sedge tundra;
2 – shrub tundra;
3 – heather tundra;
4 – deciduous boreal forest;
5 – white spruce; and
6 – black spruce.
This implies that you need to regenerate the
"vegetation.nc" under cohort/eq/ for any cases.

And still there are two drainage types for each
vegetation types.
If source files are added, moved, or
rearranged, then this Makefile will need to
be updated by hand.

Also the order of the -l flag seems to be
important.
Copied over files from main version to calib. version
to get Fenming's updates.
Not certain if the config/Test_calib.config
is needed?
Not sure where these come into play. They don't seem
to be imported anywhere, and I searched the codebase
for references to them and can't find any.
This brings in changes that were present on the cluster
in the /home/stuff/fengming/TEMmodules/DOSTEM1.2 folder
as of 11/19/2012. These changes allow for including 4
tundras and 3 boreal forests.
**NOTE**: The code may or may not run with the test files at
this point -- the various config files need to be updated.


Notes from Fengming's email:
So, please remember that: vegetation ID has been changed
as following:
0 – graminoid tundra;
1 – wet sedge tundra;
2 – shrub tundra;
3 – heather tundra;
4 – deciduous boreal forest;
5 – white spruce; and
6 – black spruce.
This implies that you need to regenerate the
"vegetation.nc" under cohort/eq/ for any cases.

And still there are two drainage types for each
vegetation types.
If source files are added, moved, or
rearranged, then this Makefile will need to
be updated by hand.

Also the order of the -l flag seems to be
important.
Copied over files from main version to calib. version
to get Fenming's updates.
Not certain if the config/Test_calib.config
is needed?
deleted all the conflicting files, since they are not
needed with the new arrangement of the calibration
build process...

Conflicts:
	calibration/DOSTEMwrappercpp/src/ground/Richard.cpp
	calibration/DOSTEMwrappercpp/src/ground/Soil_Env.cpp
	calibration/DOSTEMwrappercpp/src/ground/Stefan.cpp
	calibration/DOSTEMwrappercpp/src/inc/cohortconst.h
	calibration/DOSTEMwrappercpp/src/inc/cohortkey.h
	calibration/DOSTEMwrappercpp/src/lookup/CohortLookup.cpp
	calibration/DOSTEMwrappercpp/src/run/Cohort.cpp
	calibration/DOSTEMwrappercpp/src/vegetation/Vegetation_Bgc.cpp
tobeycarman added a commit that referenced this pull request Dec 13, 2012
Updates to the code and arrangement to directories, calibration version, etc.

closes issue #5 
closes issue #9
closes issue #13
@tobeycarman tobeycarman merged commit 6975fcc into uaf-arctic-eco-modeling:master Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant