Hello list:

I need to load NetCDF files to Geoserver.
I have installed the two plugins in Geoserver (netcdf-plugin and
netcdf-out-plugin) for Netcdf from:
http://ares.opengeo.org/geoserver/2.4.x/community-latest/

I am working with the cURL library to load NetCDF files, but I get the
following response with error:

* About to connect() to localhost port 80 (#0)
*   Trying 127.0.0.1... connected
* Server auth using Basic with user 'admin'
> PUT
/geoserver/rest/workspaces/satelite/coveragestores/ascatncdf/file.netcdf
HTTP/1.1
> Authorization: Basic YWRtaW46ZzI0czJydjJy
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: localhost
> Accept: */*
> Content-type: application/zip
> Content-Length: 9215392
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 500 Internal Server Error
< Server: Apache-Coyote/1.1
< Content-Type: text/plain
< Transfer-Encoding: chunked
< Date: Fri, 28 Mar 2014 11:23:11 GMT
< Connection: close
<
* Closing connection #0
*Could not aquire reader for coverage    <--here the error!!!*

My instruction is:

curl -v -u admin:geoserver -XPUT -H "Content-type: application/zip"
--data-binary @./ASCAT.zip
http://localhost/geoserver/rest/workspaces/satelite/coveragestores/ascatncdf/file.netcdf

I also tried to charge it through the administrative interface gesoserver,
but I get the following error:
Could not list layers for this store, an error occurred retrieving them:
Failed to create reader from file:satelites/ASCAT.nc and hints null

I am using:
Geoserver 2.4
curl 7.22.0
Ubuntu 12.04

I hope your help.
Thanks
Pablo


-- 
*Pablo J. Zader*
*Lic. en Cs. de la Computación*
*CONAE *

*[email protected] <[email protected]>*





*"Los Grandes Hombres hablan sobre ideas...  Los Hombres Promedio hablan
sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
*del libro Matemática estas ahi? A. Paenza "*
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to