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

Identify and load additional maps #65

Closed
6 tasks
teixeirak opened this issue Feb 3, 2015 · 3 comments
Closed
6 tasks

Identify and load additional maps #65

teixeirak opened this issue Feb 3, 2015 · 3 comments

Comments

@teixeirak
Copy link
Contributor

teixeirak commented Feb 3, 2015

Maps that we have already identified as potentially interesting include the following:

  • US biomass map from FIA (we have had trouble with this in the past): http://www.whrc.org/mapping/nbcd/
  • Canada biomass map
  • [ ](Baccini et al., 2012) tropical biomass map, available here: http://www.arcgis.com/home/item.html?id=2332b43bc5454127bfde21e894c89a51
  • other regional biomass maps, if accessible
  • model intercomparison maps (global- David mentioned these)
  • Almut & Anita's global GHGV map or components thereof (modeled in LPJ, Evan reviewed this paper.)
  • new map from Peter Snyder of biophysical values for pasture and maybe generic cropland, if he is able/willing to run those.
@dlebauer
Copy link
Member

@ValentineHerr

Here is an example of how you can compute the average of a variable over time. For the CLM TotLivBiom.nc. Install NCO and do:

ncwa -O -C -a time -y avg CLM4_RG1_Monthly_TotLivBiom.nc4 CLM4_RG1_TotLivBiom.nc4  

@dlebauer
Copy link
Member

dlebauer commented Jun 6, 2016

@hmb1 I have a few questions:

  1. Starting with a file of monthly values over 110 years (e.g. this 250MB file of NEE, how can we compute the annual sums and then compute the average over years (analagous to a 'climatology' variable like mean annual temperature)?

I've been trying to compute the annual sums like ncra -O -F -d time,1,1340,12 -y ttl in.nc out.nc but get

ncra: ERROR no variables fit criteria for processing
ncra Hint Extraction list must contain a record variable that is not NC_CHAR or NC_STRING

however the TotLivBiom variable is a float ...?

If I use ncwa -O -C -a time,1,1340,12 -y ttl in.nc out.nc it creates a file that sums over the record dimension rather than each 12 months.

  1. Have you ever seen the error

$ ncwa -O -C -a time -y avg CLM4_RG1_Monthly_TotLivBiom.nc4 CLM4_RG1_TotLivBiom.nc4
ncwa: ERROR nco_malloc_flg() unable to allocate 1368576000 B = 1336500 kB = 1305 MB = 1 GB
ncwa: malloc() error is "Not enough space"
ncwa: ERROR Unable to malloc() 342144000*4 bytes for value buffer for variable TotLivBiom in main()

and is there a way to fix it (memory settings)?

@teixeirak
Copy link
Contributor Author

This is now covered by #86. Closing this issue.

dlebauer pushed a commit that referenced this issue Jul 9, 2018
dlebauer pushed a commit that referenced this issue Jul 9, 2018
These look like remnants of previous design decisions, we don't actually
use the workflows anywhere. Later, if we do introduce saving,
configuration, etc. we can re-introduce the database, models, and
migrations

For now, this will make deployment easier and lightens up the code to
allow us to focus on the issues at hand

Closes #69 by removing dependency
Supports #65 by removing the models, views, w/ `rails destroy scaffold Foo`
Supports #66 by updating the README and removing complexity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants