Hello,
First I want to thank you for this project !
So I just clone and change the code to be able to read NetCdf files from Staccato.
I had some difficulties trying to enable "time" and "elevation" dimensions. I added properties in "com.joshfix.stac.store.mosaic.StacMosaicReader" as follow :
props.put(Utils.Prop.TIME_ATTRIBUTE, "time");
props.put(Utils.Prop.ELEVATION_ATTRIBUTE, "level");
I also set "mosaicConfigurationBean" but I commented it after I found out that my properties in my staccato collection didn't have thoses properties.
//mosaicConfigurationBean.setTimeAttribute((String)props.get(Utils.Prop.TIME_ATTRIBUTE));
//mosaicConfigurationBean.setElevationAttribute((String)props.get(Utils.Prop.ELEVATION_ATTRIBUTE));
I also try with an indexer.properties but it didn't work.
Do you have any idea of how to enable time/elevation and other custom dimensions ?
Thank you for your help !
Regards
Rvar
Hello,
First I want to thank you for this project !
So I just clone and change the code to be able to read NetCdf files from Staccato.
I had some difficulties trying to enable "time" and "elevation" dimensions. I added properties in "com.joshfix.stac.store.mosaic.StacMosaicReader" as follow :
props.put(Utils.Prop.TIME_ATTRIBUTE, "time");
props.put(Utils.Prop.ELEVATION_ATTRIBUTE, "level");
I also set "mosaicConfigurationBean" but I commented it after I found out that my properties in my staccato collection didn't have thoses properties.
//mosaicConfigurationBean.setTimeAttribute((String)props.get(Utils.Prop.TIME_ATTRIBUTE));
//mosaicConfigurationBean.setElevationAttribute((String)props.get(Utils.Prop.ELEVATION_ATTRIBUTE));
I also try with an indexer.properties but it didn't work.
Do you have any idea of how to enable time/elevation and other custom dimensions ?
Thank you for your help !
Regards
Rvar