Replies: 3 comments 4 replies
-
|
If I look at the original Level-2 files from EMIT, it has a similar structure as PACE/OCI level-2 products. Do you know where to find how the EMIT product you have from opengeos/datasets was processed to a rectilinear grid? |
Beta Was this translation helpful? Give feedback.
-
|
These are a bit out of date, but they are my examples for loading EMIT: https://github.com/auspatious/hyperspectral-notebooks To be opinionated, we should be consistent in calling the variables Then you can select with something like Sorry, but I'm not much help here with the PACE data... I haven't worked with it. This looks like the cause of the issue, though? dataset = xr.Dataset(
{
"Rrs": (("latitude", "longitude", "wavelengths"), Rrs.data)
},
coords={
"latitude": (("latitude", "longitude"), lat.data),
"longitude": (("latitude", "longitude"), lon.data),
"wavelengths": ("wavelengths", wavelengths.data)
}
)
datasetIs there any reason you don't do: dataset = xr.Dataset(
{
"Rrs": (("latitude", "longitude", "wavelengths"), Rrs.data)
},
coords={
"latitude": ("latitude", lat.data),
"longitude": ("latitude", lon.data),
"wavelengths": ("wavelengths", wavelengths.data)
}
)
dataset |
Beta Was this translation helpful? Give feedback.
-
|
Great work as always, @giswqs! FWIW, and for comparison with the EMIT, Hyperion, and select AVIRIS scenes already available in GEE, and in the framework of a PACE Early Adopters project, I have loaded a large chunk of the PACE OCI land-related datasets (surface reflectance + vegetation indices) into GEE and am making them available via the following repo (https://bit.ly/gee_repo_pace_oci) and its dependencies. (I also made a GitHub repo for said GEE code: https://github.com/BzGEO/pace_oci_toolkit/.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Cross posted NASA/EMIT-Data-Resources
Thank you for the excellent notebook examples from the repo. @bingqing-liu and I are building a Python package called HyperCoast for visualizing NASA Hyperspectral data interactively with a few lines of code. Here is a notebook example for visualizing EMIT data interactively. However, we run into issues with reading PACE data. The
latitudeandlongitudecoordinates are in the format of(latutude, longitude). We need to turn them into one dimension like the EMIT dataset shown in the example below. The goal is the turn the xarray dataset into a rasterio dataset so that we can plot it on the interactive map.Any advice? @alexgleith @betolink @BriannaLind
PACE
Code snippet
Note the two dimensions

(latitude, longitude)in thelatitudeandlongitudecoordinatesEMIT
Code snippet
EMIT demo
Beta Was this translation helpful? Give feedback.
All reactions