Skip to content

PYR1-938: register weather and risk time series as ImageMosaics - #98

Merged
danielhvs merged 1 commit into
mainfrom
PYR1-938-weather-risk-image-mosaics
Sep 9, 2026
Merged

danielhvs merged 1 commit into
mainfrom
PYR1-938-weather-risk-image-mosaics

Conversation

@danielhvs

@danielhvs danielhvs commented Aug 14, 2026 •

Copy link
Copy Markdown
Collaborator

Register weather and risk time series as ImageMosaics instead of one layer per
timestep, so a single layer carries the whole time dimension.

  1. Declare the GRAY_INDEX band on mosaic coverages. Without band metadata the
    ncWMS GetTimeSeries request fails, which is the request that returns the
    whole series at a point in one call.

Frontend side: PYR1-938: register weather and risk time series as ImageMosaics. Both have to
ship together - the frontend reads the series from the mosaics this PR creates.

@danielhvs
danielhvs force-pushed the PYR1-938-weather-risk-image-mosaics branch 5 times, most recently from 3f5ee60 to 8c4cc87 Compare September 1, 2026 16:00
geosync creates mosaic coverages with no band metadata, so ncWMS
GetTimeSeries failed with an empty property list.

Measured on geoserver-dev against hrrr ws, 49 timesteps:

  GetTimeSeries        1 request    153 ms   1534 bytes
  GetFeatureInfo x49   49 requests  675 ms

Values agree at every timestep.

Without a declared band, omitting PROPERTYNAME threw IndexOutOfBoundsException
on coverage.getDimensions().get(0):

  https://github.com/geoserver/geoserver/blob/f8e492cd0fe21c54df4840ea1241f633a440fdd9/src/community/ncwms/src/main/java/org/geoserver/wms/ncwms/NcWmsService.java#L179-L182

Callers passed PROPERTYNAME=GRAY_INDEX to sidestep that. With the band
declared the same block resolves the first band on its own: dropping the
parameter returns byte-identical CSV, measured over 209 timesteps of
gfs0p25 tmpf.

@noelrivasc noelrivasc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM and it's working properly on dev and stg

@danielhvs
danielhvs merged commit 61119af into main Sep 9, 2026
1 check passed
@danielhvs
danielhvs deleted the PYR1-938-weather-risk-image-mosaics branch September 9, 2026 20:41
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