alexander-petkov / wfas

A placeholder for the WFAS project.
4 stars 1 forks source link

Add NDVI percent of maximum layer #38

Open wmjolly opened 3 years ago

wmjolly commented 3 years ago

On https://www.wfas.net:8443/geoserver I have layer called: current_ndvi_fracmax | wfas:current_ndvi_fracmax configured. I'd like to make that layer available on the AWS GeoServer

I can set up a custom download directory to make this and other layers available for ingest. Would that work?

MJ

alexander-petkov commented 3 years ago

On https://www.wfas.net:8443/geoserver I have layer called: current_ndvi_fracmax | wfas:current_ndvi_fracmax configured. I'd like to make that layer available on the AWS GeoServer

I can set up a custom download directory to make this and other layers available for ingest. Would that work?

MJ

Maybe simply cascade from wfas,net? I will give it a try.

wmjolly commented 3 years ago

No, this one we need to move off of the wfas.net GeoServer completely. We will soon be forced to get rid of the Rackspace server and I'm trying to get everything we need on the AWS GeoServer.

On Mon, Dec 7, 2020 at 3:23 AM alexander-petkov notifications@github.com wrote:

On https://www.wfas.net:8443/geoserver I have layer called: current_ndvi_fracmax | wfas:current_ndvi_fracmax configured. I'd like to make that layer available on the AWS GeoServer

I can set up a custom download directory to make this and other layers available for ingest. Would that work?

MJ

Maybe simply cascade from wfas,net? I will give it a try.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexander-petkov/wfas/issues/38#issuecomment-739824018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4G3DYXW5CRUDLW65LAHEDSTSUJ7ANCNFSM4UN7TEZA .

alexander-petkov commented 3 years ago

I can set up a custom download directory to make this and other layers available for ingest. Would that work?

Yes, that will work

wmjolly commented 2 years ago

Need to put this back on the list to complete. I'll have a couple of layers that we'll need to add from WFAS to the AWS GeoServer instances. Relative NDVI and Growing Season Index are those.

On https://www.wfas.net:8443/geoserver these layers already exist:

current_ndvi_fracmax | wfas:current_ndvi_fracmax

I'll work on getting the ndvi_fracmax and gsi layers in a download location on Rackspace.

wmjolly commented 2 years ago

I created a download directory on Rackspace and symlink'd the ndvi_perc_max file. It is here: http://www.wfas.net/data/download/

alexander-petkov commented 2 years ago

To add compression and tiling:

gdal_translate -f GTiff -co 'COMPRESS=DEFLATE' -co 'TILED=YES' \
   current_ndvi_fracmax.tif current_ndvi_fracmax_deflate.tif 

Overviews will be useful too, if this layer will be displayed on a map. They add about 11MB to the file size:

gdaladdo current_ndvi_fracmax_deflate.tif 2 4 8 16
alexander-petkov commented 2 years ago

Available at: https://aws.wfas.net/geoserver/wcs?service=WCS&version=2.0.1&request=DescribeCoverage&coverageId=wfas:current_ndvi_fracmax