···
2014-03-29 21:24 GMT+01:00 pablo zader <pzader@anonymised.com>:
Hi Daniele
Thanks.
As I know if the image is georectificada?
Below sending command output ncdump.
Cheers
Pablo
$> ncdump -h TUW_METOP_ASCAT_WARP55R12_2313.nc
netcdf TUW_METOP_ASCAT_WARP55R12_2313 {
dimensions:
dayofyear = 366 ;
obs = 45487 ;
gp = 19 ;
variables:
byte topo(gp) ;
topo:units = “%” ;
topo:long_name = “Topographic complexity” ;
topo:missing_value = -1b ;
topo:coordinates = “lat lon” ;
topo:valid_range = 0b, 100b ;
short proc_flag(obs) ;
proc_flag:flag_meanings = “default soil_moisture_set_to_0_since_it_was_between_0_and_-50 soil_moisture_set_to_100_it_was_between_100_and_150 soil_moisture_set_to_NaN_it_was_below_-50 soil_moisture_set_to_NaN_it_was_above_150 normalised_backscatter_is_out_of_limits_or_dry_wet_reference_is_NaN” ;
proc_flag:coordinates = “time lat lon” ;
proc_flag:valid_range = 0s, 128s ;
proc_flag:long_name = “Processing flag” ;
proc_flag:flag_values = 0s, 1s, 2s, 4s, 8s, 16s ;
proc_flag:missing_value = -1s ;
int gpi(gp) ;
gpi:long_name = “Grid Point Index” ;
gpi:cf_role = “timeseries_id” ;
gpi:coordinates = “lat lon” ;
gpi:valid_range = 0, 3264390 ;
byte frozen(gp, dayofyear) ;
frozen:units = “%” ;
frozen:long_name = “Frozen probability” ;
frozen:missing_value = -1b ;
frozen:coordinates = “doy lat lon” ;
frozen:valid_range = 0b, 100b ;
float lon(gp) ;
lon:units = “degree_east” ;
lon:long_name = “Grid point longitude” ;
lon:standard_name = “longitude” ;
lon:valid_range = -180.f, 180.f ;
byte snow(gp, dayofyear) ;
snow:units = “%” ;
snow:long_name = “Snow probability” ;
snow:missing_value = -1b ;
snow:coordinates = “doy lat lon” ;
snow:valid_range = 0b, 100b ;
float por_hwsd(gp) ;
por_hwsd:_CoordinateAxes = “lat lon” ;
por_hwsd:coordinates = “lat lon” ;
por_hwsd:valid_range = 0.f, 1.f ;
por_hwsd:long_name = “Porosity derived from HWSD” ;
por_hwsd:units = “m3 m-3” ;
por_hwsd:missing_value = -1.f ;
int row_size(gp) ;
row_size:long_name = “Number of observations for this grid point” ;
row_size:sample_dimension = “obs” ;
short doy(dayofyear) ;
doy:units = “days” ;
doy:long_name = “Day of year” ;
byte wetland(gp) ;
wetland:units = “%” ;
wetland:long_name = “Inundation and wetland fraction” ;
wetland:missing_value = -1b ;
wetland:coordinates = “lat lon” ;
wetland:valid_range = 0b, 100b ;
char orbit_dir(obs) ;
orbit_dir:long_name = “Orbit direction” ;
orbit_dir:coordinates = “time lat lon” ;
byte sm(obs) ;
sm:units = “%” ;
sm:long_name = “Soil Moisture” ;
sm:missing_value = -1b ;
sm:coordinates = “time lat lon” ;
sm:valid_range = 0b, 100b ;
double time(obs) ;
time:units = “days since 1970-01-01 00:00:00” ;
time:long_name = “time of measurement” ;
time:standard_name = “time” ;
float lat(gp) ;
lat:units = “degree_north” ;
lat:long_name = “Grid point latitude” ;
lat:standard_name = “latitude” ;
lat:valid_range = -90.f, 90.f ;
float por_gldas(gp) ;
por_gldas:_CoordinateAxes = “lat lon” ;
por_gldas:coordinates = “lat lon” ;
por_gldas:valid_range = 0.f, 1.f ;
por_gldas:long_name = “Porosity resampled from NASAs LDAS” ;
por_gldas:units = “m3 m-3” ;
por_gldas:missing_value = -1.f ;
byte ssf(obs) ;
ssf:flag_meanings = “unknown unfrozen frozen_temporary melting_water_on_the_surface permanent_ice” ;
ssf:coordinates = “time lat lon” ;
ssf:valid_range = 0b, 4b ;
ssf:long_name = “Surface State Flag” ;
ssf:flag_values = 0b, 1b, 2b, 3b, 4b ;
ssf:missing_value = -1b ;
byte sm_noise(obs) ;
sm_noise:units = “%” ;
sm_noise:long_name = “Soil Moisture Noise” ;
sm_noise:missing_value = -1b ;
sm_noise:coordinates = “time lat lon” ;
sm_noise:valid_range = 0b, 100b ;
// global attributes:
:geospatial_lon_min = 144.65f ;
:featureType = “timeSeries” ;
:geospatial_lat_max = -40.75f ;
:time_coverage_end = “20130712T000000Z” ;
:title = “Metop ASCAT Soil Moisture Time Series” ;
:geospatial_lon_resolution = “12.5 km” ;
:product_version = “WARP 5.5 Release 1.2” ;
:geospatial_lat_min = -41.65f ;
:geospatial_lat_resolution = “12.5 km” ;
:time_coverage_start = “20070101T000000Z” ;
:Conventions = “CF-1.6” ;
:project = “H-SAF” ;
:source = “Metop ASCAT Level 1b 25km backscatter” ;
:cdm_data_type = “Time Series” ;
:platform = “Metop-A” ;
:creator_url = “http://rs.geo.tuwien.ac.at/” ;
:id = “2313.nc” ;
:date_created = “2013-10-01 18:01:35” ;
:sensor = “ASCAT” ;
:institution = “Vienna University of Technology” ;
:geospatial_lon_max = 145.f ;
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Nicola Lagormarsini
Junior 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
2014-03-28 13:21 GMT-03:00 Daniele Romagnoli <daniele.romagnoli@anonymised.com>:
Hi Pablo,
could you please provide some more info about your sample data? (an ncdump or something similar)
I have played a bit with some Ascat sample some months ago and the sample data I had, need to be georectified before being used.
Not sure if that’s your case but geoserver currently supports only georectified wgs84 NetCDF-CF datasets (We are about to support more projections).
So an overview report about your sample data structure may be helpful.
Please, let us know.
Cheers,
Daniele
–
Pablo J. Zader
Lic. en Cs. de la Computación
CONAE
pablo.zader@anonymised.com
"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 "
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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
On Fri, Mar 28, 2014 at 5:08 PM, pablo zader <pzader@anonymised.com> wrote:
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
<
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
pablo.zader@anonymised.com
"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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users