Hi Richard any chance that you are maybe using a different user running GeoServer which doesn't have write access to that /home/richard folder (and subfolders)? The NetCDF format creates/writes a couple of ancillary files to index the ND variables stored on the nc file. There might be the case that it was unable to create them due to permissions issues.
Daniele On Mon, Jan 14, 2019 at 1:11 PM Richard Duivenvoorde <[email protected]> wrote: > On 1/14/19 12:23 PM, Daniele Romagnoli wrote: > > Hi Richard. > > Today I have downloaded GeoServer 2.14.1, together with NetCDF extension > > and I have configured your sample data. > > I have simply created a NetCDF store, pointing to your test4dz28992.nc > > <http://test4dz28992.nc> file. > > I was able to configure the layer and related dimensions. I have setup a > > fake style so you can see the 4 different values as 4 different colors. > > > > This is the result of the openLayers preview (getMap request with > > default values). > > fakedata-default.jpg > > Next one, is same getMap request with elevation=100. > > fakedata-elevation100.jpg > > > > So, I'm not sure why you are having issues in configuring it. > > Could you retry from a clean situation? > > Wondering if you successfully configured the dataset without t/z and > > then you replaced the file without reconfiguring it or something similar > > so that the configuration doesn't reflect the new data. > > As a quick check, you may want to move the sample file to another > > location and reconfigure it, in order to make sure it isn't using any > > preconfigured/partially configured ancillary file. > > Are you configuring it as a simple NetCDF store? (I mean... not an > > ImageMosaic) > > Hi Daniele, > > THANKS! For trying and testing, and letting me know it was working, > you've made my day ( see below :-) )! > > I've already invested a lot of hours to try all kind of different > netcdf-configs creations with attributes/variables etc etc, and 2d was > working but 3d or 4d (that is with t/z) was NOT. I just was not sure if > my self created netcdf's were crippled, or I hit a geoserver problem. > > I just downloaded a fresh 2.14.1 + netcdf extension, but had the same > error again... > > BUT... because you are showing results, I figured out the netcdf is ok, > so it has to do with something else... > So I moved the test4dz28992.nc from my /home/richard/dev/python/netcdf > dir to the [geoserver]/datadir/coverages.. and THEN it works!!! Halleluya > > So the crux is: while latlon-netcdfs work outside the datadir, > NON-latlon-netcdfs fail outside the datadir (though you can browse in > the store creation page to you home dir....). > > Worth an issue I think? > > Regards & thanks again, now I can proceed with my life \o/ > > Richard > -- Regards, Daniele Romagnoli == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
