-
Notifications
You must be signed in to change notification settings - Fork 13
Use global MODIS LAI for all simulations; remove modis_lai_fluxnet_sites
artifact
#1282
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
Conversation
49d8848
to
3c3d27f
Compare
@@ -8,7 +8,3 @@ h_canopy = h_stem + h_leaf | |||
compartment_midpoints = | |||
n_stem > 0 ? [h_stem / 2, h_stem + h_leaf / 2] : [h_leaf / 2] | |||
compartment_surfaces = n_stem > 0 ? [zmax, h_stem, h_canopy] : [zmax, h_leaf] | |||
|
|||
land_domain = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved this into the driver scripts so that we have access to lat and long when we construct it. This file will be removed soon in a different PR, so it doesn't matter that this is duplicating some code.
3c178d6
to
cdb2930
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if I am the best person for reviewing this, but everything looks reasonable to me.
start_date = start_date + Second(t0), | ||
end_date = start_date + Second(t0) + Second(tf), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it strange that start_date
isn't actually the start date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I agree. I think we used to call it ref_date
and it may be clearer if we go back to using that. But this is the convention we use throughout ClimaLand right now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we maybe discuss this more? I think we should get rid of t0 and tf and only work with start and stop_date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(at least in fluxnet runs; this is also what we do in global runs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the results are slightly changed, which is probably expected.
Have you checked how much/if the LAI values differ for the fluxnet sites when using modis_lai_fluxnet_sites vs the global modes artifact?
The software changes look good to me
I added a table to the PR description showing the LAI values at the start of the simulation for each site, using the site-level artifact vs the global artifact. They look pretty similar to me. I didn't go through and check the values over time, but I think this is a good enough check to see that the values are reasonable. |
cdb2930
to
4ac0c4c
Compare
I realized that the way I'm computing I would prefer to stop using |
4ac0c4c
to
7446c2f
Compare
c02adda
to
514f7a7
Compare
514f7a7
to
8212bd3
Compare
Bump minor version; Bump compat upper bnds Use approx in soil test for compat with rootsolvers
Purpose
We've been using 2 different MODIS LAI artifacts: one global map for global runs, and one dataset for 4 fluxnet sites to use for site-level simulations. After #1279, we have the ability to read in spatial maps to Point/Column spaces, so we can use the global map for global and site-level runs.
This PR switches all site-level (fluxnet) runs to use the global map, and removes the site-specific LAI artifact.
Closes #1224
Content
find_modis_year_paths
->modis_lai_multiyear_paths
modis_lai_multiyear_paths
instead ofmodis_lai_single_year_path
(if we have multiple years of data we may as well use it since this artifact isn't too large). Single year artifact still exists and is testedmodis_lai_multiyear_paths
only includes an extra year of data if the end date is in December, instead of always including an extra year of datamodis_lai_multiyear_paths
, removePeriodicCalendar
extrapolation fromLinearInterpolation
. Since the data spans multiple years, we get uneven time intervals (e.g. between last date of one year and first date of the next year) so we can't usePeriodicCalendar
with itfinal_date
->end_date
in src/Artifacts.toml for consistencylonglat
to domain for fluxnet simulations (this required some restructuring of drivers)LAI values at the start of the simulation
Note that the values from the global LAI artifact are identical whether we have
use_lowres_clm
true or false.Changes in results
For most variables output from the 4 fluxnet sites, the R-squared value compared to data remained the same (variables are LHF, SHF, LWU, SWU, GPP, ET). RMSD values mostly decreased (suggesting better agreement with data) but RMSD changes range from 2.3% increase (Ha1 GPP) to 20% decrease (Ozark GPP). Overall it seems like this change slightly improves results, but does not have a strong effect.