Skip to content

fix fetch ncwms metadata#229

Merged
shaunahu merged 1 commit intomainfrom
bugfix/8035-ncwms-layer-call
Feb 5, 2026
Merged

fix fetch ncwms metadata#229
shaunahu merged 1 commit intomainfrom
bugfix/8035-ncwms-layer-call

Conversation

@NekoLyn
Copy link
Contributor

@NekoLyn NekoLyn commented Feb 5, 2026

example NCWMS layer call:

/collections/79c8eea2-4e86-4553-8237-4728e27abe10/items/wms_layers

res:

    {
        "queryable": "0",
        "name": "sstaars_daily_fit_url/TEMP",
        "title": "sstaars_daily_fit_url/TEMP",
        "ncWmsLayerInfo": {
            "units": "degrees_Celsius",
            "bbox": [
                -180,
                -69.98999786376953,
                180,
                19.989999771118164
            ],
            "palettes": [
                "rainbow",
                "occam",
                "redblue",
                "ncview",
                "sst_36",
                "greyscale",
                "occam_pastel-30",
                "alg2",
                "ferret",
                "alg"
            ],
            "defaultPalette": "rainbow",
            "scaleRange": [
                -1.6,
                32.8
            ],
            "datesWithData": {
                "2005": {
                    "0": [
                        22,
                        23,
                        24,
                        25,
                        26,
                        27,
                        28,
                        29,
                        30,
                        31,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        20,
                        21 ... ...
                    ]
                }
            },
            "numColorBands": 253,
            "supportedStyles": [
                "boxfill",
                "contour"
            ],
            "moreInfo": "",
            "timeAxisUnits": "ISO8601",
            "nearestTimeIso": "2005-12-31T00:00:00.000Z",
            "logScaling": false
        }
    }
]

Copy link
Contributor

@shaunahu shaunahu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shaunahu shaunahu merged commit 39c3e25 into main Feb 5, 2026
4 checks passed
@shaunahu shaunahu deleted the bugfix/8035-ncwms-layer-call branch February 5, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants