Hi Lotta,
do you have any chance to share the full log?
Which version of GeoServer are you using? (2.8.x, X = ?)

I have a doubt in relation to the time unit.
I think that the current code only deals with "seconds/minutes/hours/days
since the reference time".
I'm not sure it will support the "years since date" type.

Let's see if the log says something more to provide you more feedbacks.
Hope this helps.

Cheers,
Daniele


On Tue, Feb 2, 2016 at 1:44 PM, axxis l <[email protected]> wrote:

> Hi List,
>
>
> I´m using geoserver 2.8 with netcdf plugin. I am creating a store with
> netcdf file and I get the following error:
>
>
> "Could not list layers for this store, an error occurred retrieving them:
> Failed to create reader from file://Z:\...\26012016.nc and hints null."
>
>
> Is there a problem with the file?
>
> Attached you find a file extract
> <https://dict.leo.org/ende/index_de.html#/search=extract&searchLoc=0&resultOrder=basic&multiwordShowSingle=on>from
> the .cdl file.
>
>
> ------------------------------
>
> netcdf 26012016 {
> dimensions:
>     lon = 42 ;
>     lat = 35 ;
>     time = 7 ;
> variables:
>     float lon(lon) ;
>         lon:standard_name = "longitude" ;
>         lon:long_name = "longitude" ;
>         lon:units = "degrees_east" ;
>         lon:axis = "X" ;
>         lon:_CoordinateAxisType = "Lon" ;
>     float lat(lat) ;
>         lat:standard_name = "latitude" ;
>         lat:long_name = "latitude" ;
>         lat:units = "degrees_north" ;
>         lat:axis = "Y" ;
>         lat:_CoordinateAxisType = "Lat" ;
>     float time(time) ;
>         time:standard_name = "time" ;
>         time:long_name = "Time" ;
>         time:units = "years since 2000-07-01" ;
>         time:calendar = "gregorian" ;
>         time:_CoordinateAxisType = "Time" ;
>     float SPEI02(time, lat, lon) ;
>         SPEI02:units = "z values" ;
>         SPEI02:long_name = "drought index" ;
>         SPEI02:missing_value = -999. ;
> data:
>
>  lon = -9.5, -8.5, ... ;
>
>  lat = 36.5, 37.5, ... ;
>
>  time = 0, 1, ... ;
>
>  SPEI02 =
>   // SPEI02(0,1, 0-41)
>     NaNf, NaNf, -0.035, -0.09, -0.155, NaNf, NaNf, NaNf, NaNf, 0.064,
> 0.204,
>     0.319, 0.405, 0.449, 0.491, 1.292, 1.485, NaNf, NaNf, NaNf, 0.622,
> 0.134,
>     0.085, 0.415, NaNf, NaNf, 0.729, 0.885, 1.006, 0.966, 0.873, 0.678,
>     0.133, 0.181, 0.19, 0.215, 0.21, NaNf, NaNf, NaNf, NaNf, NaNf,
>   // SPEI02(0,2, 0-41)
>     NaNf, NaNf, NaNf, NaNf, NaNf, NaNf, NaNf, NaNf, NaNf, 0.198, 0.295,
>     0.303, 0.314, 0.354, 0.526, 1.363, 1.549, 1.553, 1.379, 1.101, 0.575,
>     0.067, 0.004, NaNf, NaNf, 0.528, 0.704, 0.877, 1.07, 1.11, 0.793,
> 0.48,
>     0.444, 0.429, 0.511, 0.177, 0.6, NaNf, NaNf, NaNf, NaNf, NaNf,
>  .....
>
>  ;
> }
>
>
> ----------------------
>
>
> Thanks and Regards,
>
> Lotta
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
==
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

-------------------------------------------------------

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to