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

Inconsistent IGBP types #69

Closed
jaideep777 opened this issue Jan 26, 2024 · 3 comments
Closed

Inconsistent IGBP types #69

jaideep777 opened this issue Jan 26, 2024 · 3 comments

Comments

@jaideep777
Copy link

The IGBP_veg_short field has inconsistent info, i.e., it sometimes has full forms fo the vegetation type and sometimes short forms.

Proposed fix:

Use the following code (or something to that effect) to remap the full-forms while generating the NetCDF files

IGBP_veg_short = dplyr::case_match(IGBP_veg_short,
                                 "Woody Savannas" ~ "WSA",
                                 "Savannas" ~ "SAV",
                                 "Permanent Wetlands" ~ "WET",
                                 "Open Shrublands" ~ "OSH",
                                 "Closed Shrublands" ~ "CSH",
                                 "Grasslands" ~ "GRA",
                                 "Evergreen Needleleaf Forest" ~ "ENF",
                                 "Evergreen Broadleaf Forest" ~ "EBF",
                                 "Deciduous Broadleaf Forest" ~ "DBF",
                                 "Mixed Forest" ~ "MF",
                                 "Croplands" ~ "CRO",
                                 "Cropland/Natural Vegetation Mosaic" ~ "MF",
                                 "Urban and Built-Up" ~ NA,
                                 .default = IGBP_veg_short)
@stineb
Copy link
Contributor

stineb commented Feb 6, 2024

We have code in ingestr for preparing site-level meta data here. This may be adopted to solve this issue. It takes information from {amerifluxr} and from Falge et al.. We don't need all of these meta info, but I recommend the following:

  • Make sure to use IGBP vegetation type provided as meta-info for the site (available through {ameriflux} and Falge et al.), and not extracted from global maps
  • Koeppen-Geiger climate zone, to extract from global map by Beck et al. (file contained in {ingestr}, see here)
  • Complement missing information on elevation using ETOPO1
  • Revise start and end year based on available data (and not file name)

We will need more info for the following points. Ask Yanghui Kang (yanghuikang@berkeley.edu) and Trevor Keenan (trevorkeenan@berkeley.edu). They collected more. What do they have? We definitely need:

  • Presence of C4 grasses (logical)

@khufkens
Copy link
Contributor

khufkens commented Feb 7, 2024

  • Add script to clean up meta-data
  • don't run whole routine again
  • ..

@stineb
Copy link
Contributor

stineb commented Mar 19, 2024

Resolved by #72

@stineb stineb closed this as completed Mar 19, 2024
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

No branches or pull requests

3 participants