Skip to content

Catalog sample sizes: pixel and resolution parameters, standard versions 8 to 11 - #175

Merged
ptgrogan merged 12 commits into
mainfrom
catalog-sample-sizes
Nov 25, 2026
Merged

ptgrogan merged 12 commits into
mainfrom
catalog-sample-sizes

Conversation

@ptgrogan

@ptgrogan ptgrogan commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Adds pixel and resolution parameters to instrument catalog entries for ground sample size analysis, and extends the validation standard to test them in every class that can be tested. The standard goes from version 7 to version 11.

What changes

Library

  • New view geometry. ViewGeometry.SCAN_ALONG_FIRST is a view in scan angles with the along-track angle first. It models the fixed grid of a geostationary imager that sweeps about the y axis (CGMS's convention, as for AHI and FCI). SCAN in the inertial frame matches ABI, which sweeps about the x axis.
    • ViewGeometry.is_scan tells either scan geometry from FRAME.
    • compute_view_angles takes along_first, measured from the tilt as in the other order.
  • Sample sizes of scan views away from their scan line now follow each order exactly: along track first, the plane tilted to the target; for SCAN, the axes rotated to the target. This also changes existing SCAN views. Their pixels were up to about 0.4% too wide across track within 5° of the scan line. Low-orbit scanners' records didn't change.
  • Radar resolutions. New PointedInstrument.range_resolution (slant range or ground, via range_resolution_frame) and azimuth_resolution. When given, they replace the angular pixel sizes in compute_sample_size for a radar's resolution cells.
    • A slant-range resolution is divided by the sine of the incidence angle at the target, which the new utils.compute_incidence_angle gives.
    • Their spacing isn't modeled, so it's NaN.
  • Selecting by use. InstrumentEntry.get_tier(grade) with list_entries(grade=...), and SystemEntry.get_tier(grade) with list_systems(grade=...), select entries and systems by their tier for a use. That tier is the lowest of their configurations serving the grade. For example:
    • list_entries(tier="validated", grade="coverage")
    • list_systems(tier="validated", grade="ground_track")

Validation standard (versions 8 to 11)

Versions 8 to 11 add a sample size grade to the pushbroom (v8), lidar, profiler, and altimeter (v9), geostationary (v10), and SAR and scatterometer (v11) classes. These grades are optional: their configurations have their own tiers, and they don't set the entry's tier. Cross-track and conical sample sizes stay required, as in version 1. No existing threshold changed, and each new grade's results apply only from the version that added it.

Class Sample size gates
Pushbroom, geostationary Published dimensions within 3% (≥ 90%); pixel position median ≤ 6 km
Lidar, profiler, altimeter Published dimensions within 3%; along-track spacing within 3% of measured
SAR, scatterometer Published resolutions within 3%

When published dimensions can't test a configuration, they're compared without the gate. That covers dimensions the configuration's own values are derived from, dimensions under other definitions, and dimensions given only at nadir or only approximately. Such configurations stay partial, and the standard now documents this. The catalog page marks configurations at optional grades.

Catalog configurations

Instruments Configuration Result
TROPICS-03, -05 beams_tropics_0n validated
Sentinel-1 IW resolution_iw validated (within 0.4% of the Product Definition)
MWS, TROPICS-06, IASI-NG, TROPOMI sample size partial; pixel position fails (timing or model limits, stated)
BBR pixels partial; slanted views' sizes miss the gate (4 of 6 dimensions)
CERES, ECOSTRESS, OCI, IASI-NG, EMIT, TROPOMI, GEDI, ATLID, CPR, ABI, AHI, FCI sample size partial; published sizes compared without the gate
OLI, MSI, ATLAS, NISAR, KaRIn, ASCAT sample size nominal (published values, no reference comparison)

These entries have no configuration, and their limitations say why: SSMIS, OCO-2, OLCI, OMPS NM, EarthCARE MSI, SPEXone, HARP2, Poseidon-4, and Sentinel-1 EW.

  • EMIT and ECOSTRESS. Their published pixels are compared at the centers of their pitched scan lines, not at nadir, which their views don't contain.
  • Geostationary entries' frame. Every configuration of ABI, AHI, and FCI uses the inertial frame. The configurations of an entry on a platform must share its velocity frame, which sets the spacecraft's attitude, and a new test checks this.
    • The coverage configurations, cones about nadir, give the same results.
    • Their records are rerun, and ABI's GOES-18 transfers are restored.

Validation scripts. New shared helpers: scanner.Setup.gate_published and Reference.line, validation_io.validate_footprints for beam instruments, and validation_io.validate_fixed_grid for geostationary grids. Records and reduced fixtures are written for every tested configuration. Sentinel-1's resolutions, which are compared with published tables, aren't recorded as transfers.

For reviewers

  • Decision to confirm. Keeping cross-track and conical sample sizes required while the other classes are optional was deliberate. Making them optional would promote 12 entries to validated after their results are known. Instead, list_entries(..., grade="coverage") lists those entries as validated for coverage (33 entries in all).
  • GeosynchronousOrbit (fixed in Place GeosynchronousOrbit at its longitude at epoch #176, merged here). With the satellite now at its longitude at the epoch, the geostationary pixels lie within 0.43 (ABI), 0.51 (AHI) and 0.92 km (FCI) of their products' grids (median), down from 1.7, 2.8 and 3.3 km. Their spacing is within 0.01% in both directions. Most of what remains comes from SGP4's lunar and solar terms, which move the nominal orbit 0.004–0.006° in latitude.
  • Pre-merge review fixes.
    • Radar spacing had been that of the whole view (ASCAT reported about 510 km across track).
    • An entry with only optional configurations made evaluate_entry raise.
    • A Sentinel-1D transfer run would have recorded the published-table comparison.
    • Scan-view sizes away from the scan line, as above.

Testing

  • Unit tests for the new geometry against PROJ's geos projection with both sweep axes.
  • Unit tests that the predicted sample spacing equals the projected pixel steps in both orders.
  • Unit tests for the radar resolution fields, their spacing and visibility, and the incidence angle.
  • Fixture regression tests for the new configurations (scanner, footprint, fixed-grid, and resolution records).
  • Frozen-gate tests for versions 8 to 11.
  • Tests of the tier of entries with only optional configurations, and of selection by grade for entries and systems.
  • A test that an entry's configurations on a platform share a velocity frame.
  • The full test suite passes locally (python -m pytest tests -n auto).

…, and IASI-NG

MWS (three groups of channels) and TROPICS (each satellite's 118 GHz band) are
gated by published footprints at nadir and the scan's edge; TROPICS-03 and -05
are validated, while MWS and TROPICS-06 miss the pixel position gate (product
times). CERES, ECOSTRESS, OCI, and IASI-NG have only nadir footprints published,
which are compared without the gate (scanner.Setup.gate_published), so their
configurations stay partial. scanner.Reference.line projects the pixels of a
line within a scan of several lines (ECOSTRESS), and validation passes the day
to configurations that schedule their tilt (OCI). SSMIS keeps no sample size
configuration; its limitation now cites the ADUM's footprints.
…rsion 8)

Version 8 of the validation standard adds the sample size grade to the
pushbroom class, with the gates of cross-track scanners. The grade is
optional, as pushbroom pixel sizes are rarely published away from nadir:
pushbroom entries do not need it to be validated, and their sample size
configurations have their own tiers, which do not set the entry's. Results
of a grade added to a class apply from the version that added it.

Sample size configurations (pixels) of BBR (gated by the footprints of its
nadir and slanted views), EMIT and TROPOMI (nadir footprints, not gated), and
OLI and MSI (nominal, from published values). OCO-2, OLCI, OMPS NM, EarthCARE
MSI, SPEXone, and HARP2 state why they have none. Published footprints of the
validation scripts can give a view's angle along track.
…on 9)

Version 9 of the validation standard adds an optional sample size grade to the
lidar, profiler, and altimeter classes, gated by published footprints and by
the spacing of samples along track against that measured (spacing_along_error,
the error of the median ratio, at most 3%). Their positions are tested at the
coverage grade.

Sample size configurations (footprints) of GEDI, ATLID, and CPR, from their
published divergences and beam widths, whose spacing along track is gated and
published footprints compared without the gate (their definitions differ, or
restate the divergence); and of ATLAS, nominal, as its reference data hold
segments rather than shots. Poseidon-4 states why it has none. Validation
scripts of beam instruments score them with validation_io.validate_footprints.
…rd version 10)

ViewGeometry.SCAN_ALONG_FIRST: a PointedInstrument view in angles with the
along-track angle first, as the fixed grid of a geostationary imager that sweeps
about the y axis (CGMS's convention, as AHI's and FCI's); ViewGeometry.SCAN in
the inertial frame is a grid that sweeps about the x axis (as ABI's). Footprints,
pixel positions, and fields of view follow the order; ViewGeometry.is_scan tells
either from FRAME, and compute_view_angles takes along_first. Tests compare both
orders with PROJ's geostationary projection.

Version 10 of the validation standard adds an optional sample size grade to the
geostationary class, with the gates of cross-track scanners. Sample size
configurations (pixels) of ABI, AHI, and FCI, the fixed grids of their infrared
bands, compared with the products' grids from the nominal position
(validation_io.validate_fixed_grid); their published sizes at the sub-satellite
point, which the grids' angles define, are compared without the gate.
PointedInstrument fields range_resolution (in slant range, divided by the sine
of the incidence angle at a target, or on the ground, range_resolution_frame)
and azimuth_resolution, which replace the sizes of a pixel's angles in
compute_sample_size, as for a radar's resolution cells; utils.compute_incidence_angle
gives the incidence angle at a target on the ellipsoid.

Version 11 of the validation standard adds an optional sample size grade to the
SAR and scatterometer classes, gated by published resolutions. Sentinel-1's IW
sub-swaths (resolution_iw), derived from the look bandwidths and windows of the
ground range detected product, are validated against the Product Definition;
NISAR's single-look complex products, and KaRIn's and ASCAT's gridded products,
have nominal resolution configurations.
… catalog page

The standard's tiers, gates, and metrics describe the optional sample size grades
of versions 8 to 11: an entry's tier is set by its configurations at the grades
its class requires; published dimensions that cannot test a configuration are
compared without the gate; the spacing of beams' samples, and the pixels of fixed
grids from their nominal position, are defined. The catalog page marks
configurations at optional grades. A fixed grid's published sizes are gated by
default, as the other helpers' are, and the validation summary gives Sentinel-1's
resolutions.
InstrumentEntry.get_tier gives an entry's tier for a grade: the lowest tier of
its configurations that serve the grade (as a timing configuration serves
coverage), as an entry is only as strong as its weakest configuration.
list_entries takes a grade, the use that entries have a configuration for, with
which its tier is the entry's for that grade, so that entries partial only at
another grade, such as the sample size grade, are listed as validated for
coverage.
With the geosynchronous orbit at its longitude at epoch (#176), the pixels of
ABI, AHI, and FCI projected from their grids' nominal positions lie within 0.43,
0.51, and 0.92 km of the products' grids (median), down from 1.7, 2.8, and 3.3 km;
most of the rest is the latitude to which SGP4's lunar and solar terms move the
nominal orbit (0.004 to 0.006 deg).
- Radar resolutions no longer give a spacing (NaN), which had been that of the
  whole view; their sizes stay NaN where the pixel's rays miss the Earth, and a
  slant range resolution is infinite at nadir without a warning.
- An entry whose configurations are all at an optional grade has a tier
  (nominal, or partial if compared) rather than raising.
- Sentinel-1's resolutions are not recorded as transfers, as they are compared
  with published tables rather than a platform's data.
- Sample sizes of views in scan angles follow their order away from the scan
  line: along track first, the plane tilted to the target, whose along-track step
  is scaled by the cosine of its cross-track angle; for SCAN, the axes rotated
  to the target, whose cross-track step is scaled by the cosine of its
  along-track angle. The fixed grids' spacing is now within 0.01% of the
  products'.
- compute_view_angles along track first measures the pitch from the tilt.
- A version gap names the grade when the grade's version decides it.
- EMIT's and ECOSTRESS's published pixels are compared at the centers of their
  pitched scan lines rather than at nadir.
SystemEntry.get_tier gives a system's tier for a grade, the lowest tier of its
configurations that serve the grade (as a ground track configuration serves the
plane grade), and list_systems takes a grade, as list_entries does, so that
systems partial for the planes of their orbits are listed as validated for their
ground tracks.
The configurations of an entry on a platform share its velocity frame, which sets
the spacecraft's attitude. ABI's, AHI's, and FCI's coverage configurations used
the Earth-fixed frame, in which a geostationary satellite barely moves, while
their pixels configurations need the inertial frame, in which its along-track
direction is east. Every configuration now uses the inertial frame; the coverage
configurations, cones about nadir, give the same results, and their records are
rerun (with ABI's transfers to GOES-18). A test checks that an entry's
configurations on a platform share a frame.
@ptgrogan
ptgrogan merged commit 4316e90 into main Nov 25, 2026
9 checks passed
@ptgrogan
ptgrogan deleted the catalog-sample-sizes branch November 25, 2026 21:06
@ptgrogan ptgrogan mentioned this pull request Nov 25, 2026
2 tasks
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.

1 participant