Hi all,
I followed the tutorial on this page
http://geoserver.geo-solutions.it/edu/en/multidim/netcdf/netcdf_config.html
I’m currently trying to plot elevation dimensions of Grib File.
$ grib_ls ucomp.grb
edition centre typeOfLevel level dataDate stepRange
shortName packingType gridType
1 sbsj isobaricInhPa 1020 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 1000 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 950 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 925 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 900 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 850 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 800 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 750 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 700 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 650 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 600 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 550 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 500 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 450 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 400 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 350 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 300 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 250 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 200 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 150 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 100 20170518 6
uvel grid_simple regular_ll
1 sbsj isobaricInhPa 50 20170518 6
uvel grid_simple regular_ll
22 of 22 grib messages in ucomp.grb
$ gdalinfo ucomp.grb
Warning: Inside GRIB2Inventory, Message # 23
ERROR: Couldn't find 'GRIB' or 'TDLP'
There were 4 trailing bytes in the file.
Driver: GRIB/GRIdded Binary (.grb)
Files: ucomp.grb
Size is 446, 500
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
DATUM["unknown",
SPHEROID["Sphere",6367470,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]
Origin = (-86.075001123595499,16.925000000000001)
Pixel Size = (0.150002247191011,-0.150000000000000)
Corner Coordinates:
Upper Left ( -86.0750011, 16.9250000) ( 86d 4'30.00"W, 16d55'30.00"N)
Lower Left ( -86.0750011, -58.0750000) ( 86d 4'30.00"W, 58d 4'30.00"S)
Upper Right ( -19.1739989, 16.9250000) ( 19d10'26.40"W, 16d55'30.00"N)
Lower Right ( -19.1739989, -58.0750000) ( 19d10'26.40"W, 58d 4'30.00"S)
Center ( -52.6245000, -20.5750000) ( 52d37'28.20"W, 20d34'30.00"S)
Band 1 Block=446x1 Type=Float64, ColorInterp=Undefined
Description = 1020[hPa] ISBL (Isobaric surface)
Metadata:
GRIB_COMMENT=ZONAL WIND (U) [m/s]
GRIB_ELEMENT=uvel
GRIB_FORECAST_SECONDS=21600 sec
GRIB_REF_TIME= 1495065600 sec UTC
GRIB_SHORT_NAME=1020-ISBL
GRIB_UNIT=[m/s]
GRIB_VALID_TIME= 1495087200 sec UTC
.........
Band 22 Block=446x1 Type=Float64, ColorInterp=Undefined
Description = 50[hPa] ISBL (Isobaric surface)
Metadata:
GRIB_COMMENT=ZONAL WIND (U) [m/s]
GRIB_ELEMENT=uvel
GRIB_FORECAST_SECONDS=21600 sec
GRIB_REF_TIME= 1495065600 sec UTC
GRIB_SHORT_NAME=50-ISBL
GRIB_UNIT=[m/s]
GRIB_VALID_TIME= 1495087200 sec UTC
In Dimensions page the elevation is (Enabled - Cannot enable, no attribute
of type Number found). There is (Custom dimension: ISOBARIC). I setting to
(Enabled).
I can't plot another level, only the default level.
http://localhost:8080/geoserver/dop/wms?service=WMS&version=1.1.0&request=GetMap&layers=dop:u-component_of_wind_isobaric&styles=&bbox=-86.075008756659,-58.07500381699067,-19.1740032367492,16.9249984764145&width=685&height=768&isobaric=200.0&srs=EPSG:4326&format=application/openlayers
How Can I configuring the (elevation/Isobaric) dimension for this case?
Thanks for any help.
Regards,
Felipe
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users