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

Clip hyperspectral data to plot #606

Open
dlebauer opened this issue Dec 17, 2019 · 0 comments
Open

Clip hyperspectral data to plot #606

dlebauer opened this issue Dec 17, 2019 · 0 comments

Comments

@dlebauer
Copy link
Member

dlebauer commented Dec 17, 2019

Output from hyperspectral pipeline needs to be clipped to plots

the netcdf operators (nco) library can do this, e.g. to clip a box around Champaign, IL from a global weather data set I used:

ncks -O -d longitude,-88.9,-87.5 -d latitude,39.8,40.5 all.nc champaign.nc

The hyperspectral data have dimensions x and y (rather than latitude and longitude) so it would look like

ncks -O -d x,xmin,xmax -d y,ymin,ymax full_strip.nc plot_clip.nc

And if it helps there is a python client for NCO https://github.com/nco/pynco

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

1 participant