Repository navigation
Catalog sample sizes: pixel and resolution parameters, standard versions 8 to 11 - #175
Merged
Merged
Conversation
…, 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ViewGeometry.SCAN_ALONG_FIRSTis 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).SCANin the inertial frame matches ABI, which sweeps about the x axis.ViewGeometry.is_scantells either scan geometry fromFRAME.compute_view_anglestakesalong_first, measured from the tilt as in the other order.SCAN, the axes rotated to the target. This also changes existingSCANviews. 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.PointedInstrument.range_resolution(slant range or ground, viarange_resolution_frame) andazimuth_resolution. When given, they replace the angular pixel sizes incompute_sample_sizefor a radar's resolution cells.utils.compute_incidence_anglegives.NaN.InstrumentEntry.get_tier(grade)withlist_entries(grade=...), andSystemEntry.get_tier(grade)withlist_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.
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
beams_tropics_0nresolution_iwpixelsThese 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.
Validation scripts. New shared helpers:
scanner.Setup.gate_publishedandReference.line,validation_io.validate_footprintsfor beam instruments, andvalidation_io.validate_fixed_gridfor 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
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.evaluate_entryraise.Testing
geosprojection with both sweep axes.python -m pytest tests -n auto).