Hello, We've successfully used the CreateIndexer.jar to create the indexer.xml/_auxiliary.xml files for a set of netCDF files.
Environment: GeoServer v2.20.1 RHEL 8.5 Next, we tried to do the same for a set of NcML files and got the following error: =================================================== in input: file:/home/....../geoserver/data/data/ncom_region/coamps_ncom_alaska_u_2021032400.ncml has been found Exception in thread "main" java.lang.RuntimeException: java.io.IOException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Unable to init temporal domani from CoordinateVariable that does not have a TemporalCRS at org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:260) at javax.imageio.ImageReader.setInput(ImageReader.java:380) at it.geosolutions.tools.CreateIndexer.main(CreateIndexer.java:80) Caused by: java.io.IOException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Unable to init temporal domani from CoordinateVariable that does not have a TemporalCRS at org.geotools.imageio.netcdf.NetCDFImageReader.initIndex(NetCDFImageReader.java:359) at org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.java:465) at org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:258) ... 2 more Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Unable to init temporal domani from CoordinateVariable that does not have a TemporalCRS at org.geotools.imageio.netcdf.NetCDFImageReader.getCoverageDescriptor(NetCDFImageReader.java:558) at org.geotools.imageio.netcdf.NetCDFImageReader.initIndex(NetCDFImageReader.java:307) ... 4 more Caused by: java.lang.IllegalArgumentException: Unable to init temporal domani from CoordinateVariable that does not have a TemporalCRS at org.geotools.imageio.netcdf.VariableAdapter.initTemporalDomain(VariableAdapter.java:741) at org.geotools.imageio.netcdf.VariableAdapter.initCRS(VariableAdapter.java:690) at org.geotools.imageio.netcdf.VariableAdapter.initSpatialElements(VariableAdapter.java:515) at org.geotools.imageio.netcdf.VariableAdapter.init(VariableAdapter.java:474) at org.geotools.imageio.netcdf.VariableAdapter.<init>(VariableAdapter.java:986) at org.geotools.imageio.netcdf.NetCDFImageReader.getCoverageDescriptor(NetCDFImageReader.java:556) ... 5 more ======================================================== The NcML file does contain reference_time and time variables. Is it possible to generate the xml files (using CreateIndexer) from NcML files? If so, can you direct us to information on how it can be done? Thank you. Carr Nabers Software Developer General Dynamics Information Technology
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users