Hi Felipe,
for additional dimensions, you should use a "DIM_" prefix on your request.
Please, take a look at this page:
http://geoserver.geo-solutions.it/edu/en/multidim/accessing_multidim/wms.html#netcdf

In your case, I think that something like

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&dim_isobaric=200.0&srs=EPSG:4326&format=application/openlayers

should work.
Please, let us know.

Cheers,
Daniele

On Mon, Nov 6, 2017 at 12:00 PM, Felipe Odorizi de Mello <
felipeodor...@gmail.com> wrote:

> 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
>
>


-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
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.
------------------------------------------------------------------------------
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

Reply via email to