Skip to content

Saving back ds after modifications to the same file format as provided by AVIRIS #103

Answered by giswqs
ohadshapira asked this question in Q&A
Discussion options

You must be logged in to vote

You can save the DataArray as an image and use add_raster() method to load the image.

hypercoast.aviris_to_image(dataset, wavelengths=[400, 500, 600], output="aviris.tif")
m = hypercoast.Map()
m.add_raster("aviris.tif")
m

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@giswqs
Comment options

@ohadshapira
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants