Dear Gabriella,
that version of GT only supports lon/lat NetCDFs (WGS84
coordinateReferenceSystem).
The latest master version should also support other projections which are
described by gridMapping attributes as part of the CF convention:
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.6/build/cf-conventions.html#appendix-grid-mappings

So I'm not sure your specific dataset will be recognized.
Hope this helps.
Cheers,
Daniele


On Thu, May 28, 2015 at 6:33 AM, Gabriella Turek <gabriella.tu...@niwa.co.nz
> wrote:

> 2015-05-28 16:14:05 DEBUG NetcdfFile:784 - Using IOSP
> ucar.nc2.iosp.netcdf3.N3raf
> 2015-05-28 16:14:05 DEBUG NetcdfFile:784 - Using IOSP
> ucar.nc2.iosp.netcdf3.N3raf
> May 28, 2015 4:14:05 PM org.geotools.imageio.netcdf.NetCDFImageReader
> extractCoordinatesVariable
> WARNING: Unsupported axis: double ls_nzmge(ls_nzmge=2906);
>   :unit = "m";
>   :axis = "X";
>   :bounds = "ls_nzmge_bnds";
>  in input: file:/Users/turekg/Desktop/ls_manawatu_yearly.nc has been found
> May 28, 2015 4:14:05 PM org.geotools.imageio.netcdf.NetCDFImageReader
> extractCoordinatesVariable
> WARNING: Unsupported axis: double ls_nzmgn(ls_nzmgn=2790);
>   :unit = "m";
>   :axis = "Y";
>   :bounds = "ls_nzmgn_bnds";
>  in input: file:/Users/turekg/Desktop/ls_manawatu_yearly.nc has been found
> May 28, 2015 4:14:05 PM org.geotools.imageio.netcdf.NetCDFImageReader
> initMapping
> SEVERE: Null coordinate variable: 'ls_nzmge' while processing input:
> file:/Users/turekg/Desktop/ls_manawatu_yearly.nc
> May 28, 2015 4:14:05 PM org.geotools.imageio.netcdf.NetCDFImageReader
> initMapping
> SEVERE: Null coordinate variable: 'ls_nzmgn' while processing input:
> file:/Users/turekg/Desktop/ls_manawatu_yearly.nc
> 2015-05-28 16:14:05 ERROR AddLayerAction:67 - Unable to connect
> org.geotools.data.DataSourceException: Unable to connect
>         at
> org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:158)
>         at
> riskscape.map.geotools.layer.LayerCreator.loadNetCDFFile(LayerCreator.java:
> 56)
>
> ncdump of the headers results in
>
> dimensions:
>         ls_nzmge = 2906 ;
>         ls_nzmgn = 2790 ;
>         nv = 2 ;
>
> variables:
>         double ls_nzmge(ls_nzmge) ;
>                 ls_nzmge:unit = "m" ;
>                 ls_nzmge:axis = "X" ;
>                 ls_nzmge:bounds = "ls_nzmge_bnds" ;
>         double ls_nzmgn(ls_nzmgn) ;
>                 ls_nzmgn:unit = "m" ;
>                 ls_nzmgn:axis = "Y" ;
>                 ls_nzmgn:bounds = "ls_nzmgn_bnds" ;
>         double ls_nzmge_bnds(ls_nzmge, nv) ;
>         double ls_nzmgn_bnds(ls_nzmgn, nv) ;
>         int ls_prob_ann(ls_nzmge, ls_nzmgn) ;
>                 ls_prob_ann:long_name = "Annual landslide probability" ;
>                 ls_prob_ann:cellsize = 30. ;
>                 ls_prob_ann:xllcorner = 2669314.75 ;
>                 ls_prob_ann:yllcorner = 6116013.5 ;
>                 ls_prob_ann:valid_min = 0 ;
>                 ls_prob_ann:valid_max = 1000000 ;
>                 ls_prob_ann:_FillValue = -9999 ;
>         int stab_cond(ls_nzmge, ls_nzmgn) ;
>                 stab_cond:long_name = "Stability condition (1: stable, 0:
> unstable,
> else: conditionally unstable)" ;
>                 stab_cond:cellsize = 30. ;
>                 stab_cond:xllcorner = 2669314.75 ;
>                 stab_cond:yllcorner = 6116013.5 ;
>                 stab_cond:valid_min = 0 ;
>                 stab_cond:valid_max = 100 ;
>                 stab_cond:_FillValue = -9999 ;
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>



-- 
==
Meet us at the INSPIRE Conference in Lisbon 25-29 May 2015! Visit
http://goo.gl/WHKDXT for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
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.
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to