Skip to content

GEDI height comparison - gridding problems #70

@JessicaNeedham

Description

@JessicaNeedham

I'm trying to add vegetation height to the diagnostics package using data from GEDI (downloaded from https://www.earthdata.nasa.gov/data/catalog/ornl-cloud-gedi-highquality-shots-rasters-2339-1). rh-95-a0 is a proxy for canopy height. The relevant FATES output is FATES_MEAN_95PCTILE_HEIGHT - added in this PR NorESMhub/fates#40.

The observations come as a tiff file which I converted to a netcdf with minimal processing in this script: https://github.com/JessicaNeedham/GEDI_FATES_comparisons/blob/main/gedi_tiff_to_netcdf_native_res.ipynb

I added the netcdf to the data repository /datalake/NS9560K/diagnostics/ILAMB-Data/DATA/vegheight/GEDI and updated the ilamb.cfg file here: https://github.com/JessicaNeedham/xesmf_clm_fates_diagnostic/blob/85c4351abc500497691932c0ac402cdc1906e854/tests/test-data/ilamb_CLMFATES.cfg#L77

When I try to run the diagnostics package with this json file (https://github.com/JessicaNeedham/xesmf_clm_fates_diagnostic/blob/gedi/scripts/test_gedi.json) it hangs (currently for more than an hour).

I thought maybe the native resolution was too big, so I tried regridding it to the same resolution as a FATES ne16 run outside of the diagnostics package using reproject_match from the rioxarray library (script here: https://github.com/JessicaNeedham/GEDI_FATES_comparisons/blob/main/gedi_tiff_to_netcdf_regrid.ipynb). This obviously isn't ideal but I wanted to see the results :)

When I point to this file I get the following results:

Image

Something clearly up with the coastlines. The model and observations should be the exact same resolution already so this is a bit weird.

If I borrow some of the plotting functions and plot the comparison outside of the diagnostics package it looks ok

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions