Re: [thredds] WMS and uncorrect bounding box

Hi Sean,

I agree, you can post this issue on github. Please note that this issue hits several tds releases. Surely v4.6.x. and v4.5.x.

Instead v4.3.23 gives the correct bounbing box:

<BoundingBox CRS="CRS:84" minx="27.406999588012695" maxx="42.797000885009766" miny="40.84000015258789" maxy="47.05000305175781"/>

Anyway there is a workaround. We found that removing the following entries (valid_min and valid_max) in the netcdf files gives the correct rendering.

float latitude(latitude) ;
        ...
                latitude:valid_max = 47.05f ;
                latitude:valid_min = 40.84f ;
float longitude(longitude) ;
        ...
                longitude:valid_max = 42.797f ;
                longitude:valid_min = 27.407f ;


Thank you,
Francesco


On 15/09/16 17:29, Sean Arms wrote:
Thanks Francesco!

My guess is there is something going on in the ncWMS code - do you have
a github account? If so, would you mind posting this information to our
issue tracker?

https://github.com/Unidata/ncWMS/issues

If you don't have an account, may I post this to the issue tracker?

Thanks!

Sean


On Thu, Sep 15, 2016 at 2:24 AM, Francesco Palermo
<francesco.palermo@xxxxxxx <mailto:francesco.palermo@xxxxxxx>> wrote:

    Hi Sean,

    this the url:
    http://cmems-bs-mfc.eu/thredds/BS-BIO-REAN-WM.test.html
    <http://cmems-bs-mfc.eu/thredds/BS-BIO-REAN-WM.test.html>

    Thank you,
    Francesco


    On 14/09/16 18:26, Sean Arms wrote:

        Do you have a link to the catalog for the dataset?

        Thanks!

        Sean


        On Wed, Sep 14, 2016 at 10:20 AM, Francesco Palermo
        <francesco.palermo@xxxxxxx <mailto:francesco.palermo@xxxxxxx>
        <mailto:francesco.palermo@xxxxxxx
        <mailto:francesco.palermo@xxxxxxx>>> wrote:

            Hi all,

            I'm facing a problem with WMS. Thredds can't get the right
        bouding
            box on some netcdf files and I can't understand why.

            The WMS GetCapabilities xml gives:

            <BoundingBox CRS="CRS:84" minx="27.406999588012695"
            maxx="42.797000885009766" miny="-90.0" maxy="90.0"/>

            Instead of:

            27.40 - 42.79
            40.84 - 47.05

            Is it an issue related to the catalog/dataset definitions or
        does it
            depend on the netcdf data?

            Thanks in advance,
            Francesco

            --
            Francesco Palermo
            OPA - Ocean Predictions and Applications Division
            CMCC - Euro-Mediterranean Center on Climate Change
            address: Via Augusto Imperatore 16, 73100 Lecce, Italy
            phone: +39-0832-671047 <tel:%2B39-0832-671047>
        <tel:%2B39-0832-671047> - web: http://www.cmcc.it
            email: francesco.palermo@xxxxxxx
        <mailto:francesco.palermo@xxxxxxx>
        <mailto:francesco.palermo@xxxxxxx
        <mailto:francesco.palermo@xxxxxxx>>

            _______________________________________________
            NOTE: All exchanges posted to Unidata maintained email lists are
            recorded in the Unidata inquiry tracking system and made
        publicly
            available through the web.  Users who post to any of the
        lists we
            maintain are reminded to remove any personal information
        that they
            do not want to be made public.


            thredds mailing list
            thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
        <mailto:thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>>
            For list information or to unsubscribe,  visit:
            http://www.unidata.ucar.edu/mailing_lists/
        <http://www.unidata.ucar.edu/mailing_lists/>
            <http://www.unidata.ucar.edu/mailing_lists/
        <http://www.unidata.ucar.edu/mailing_lists/>>






  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: