Compensated Radar Signal Data (sarkit.crsd)
Python reference implementations of the suite of NGA.STND.0080 standardization documents that define the Compensated Radar Signal Data (CRSD) format.
Supported Versions
Data Structure & File Format
|
CRSD header fields which are set per program specific Product Design Document |
|
Settable CRSD metadata |
|
Read a CRSD file |
|
Write a CRSD file |
|
Read a file header. |
|
Get PVP dtype. |
|
Get PPP dtype. |
|
Return the |
Return the binary format string corresponding to a |
|
|
Apply a NODATA hex string to a support array to mask the array. |
XML Metadata
|
|
|
|
|
|
|
Transcoder for text (TXT) XML parameter types. |
|
Transcoder for enumeration (ENU) XML parameter types. |
|
Transcoder for boolean (BOOL) XML parameter types. |
|
Transcoder for XML dateTime (XDT) XML parameter types. |
|
Transcoder for integer (INT) XML parameter types. |
|
Transcoder for double-precision floating point (DBL) XML parameter types. |
|
Transcoder for HEX XML parameter types. |
|
Transcoder for XML parameter types containing scalar Line and Sample components. |
|
Transcoder for XML parameter types containing scalar X and Y components. |
|
Transcoder for XML parameter types containing scalar X, Y, and Z components. |
|
Transcoder for XML parameter types containing scalar Lat and Lon components. |
|
Transcoder for XML parameter types containing scalar Lat, Lon, and HAE components. |
|
Transcoder for one-dimensional polynomial (POLY) XML parameter types. |
|
Transcoder for two-dimensional polynomial (2D_POLY) XML parameter types. |
|
Transcoder for XYZ_POLY XML parameter types containing triplets of 1D polynomials. |
|
Transcoder for Per-x-Parameter (PxP) XML parameter types. |
Transcoder for Added Per-x-Parameter (APxP) XML parameter types. |
|
|
Transcoder for MTX XML parameter types containing a matrix. |
|
Transcoder for Error Decorrelation Function (EDF) XML parameter types. |
Transcoder for CPHD-like SceneCoordinates/ImageAreaCornerPoints XML parameter types. |
|
Transcoder for TXT XML parameter types with a required "name" attribute. |
Scene Coordinates
See also
CRSD explicitly references CPHD D & I SceneCoordinates branch. See Scene Coordinates & Collection Geometry in sarkit.cphd.
Convenience functions that operate on parsed XML trees:
|
Convert from ECF coordinates to IAC coordinates |
|
Convert from IAC coordinates to ECF coordinates |
|
Convert from geodetic LLH coordinates to IAC coordinates |
|
Convert from IAC coordinates to geodetic LLH coordinates |
Receive Channel Parameters
|
Compute center of dwell times and dwell times for scene points using polynomials. |
|
Compute center of dwell times and dwell times for scene points using a dwell time array. |
Reference Geometry Parameters
Compute the reference point parameters as in CRSD D&I 8.2 |
|
|
Compute APC geometry parameters as in CRSD D&I 8.3 |
|
Compute aperture reference point geometry as in CRSD D&I 8.4.2 |
|
Return a CRSD/ReferenceGeometry XML element containing parameters computed from other metadata. |
Antenna Parameters
|
Method for computing values from a support array as in 9.3.2 |
|
Compute H, V, LOS unit vectors as in CRSD D&I 9.4.3 |
|
Compute H, V polarization parameters as in CRSD D&I 9.4.4 |
Constants
|
|
|
|
|
Two-byte sequence that marks the end of the file header |
CLI Utilities
crsdinfo
Display information about CRSD files
usage: crsdinfo [-h] [--xml] [--channels] [--txsequences]
[--raw {XML,SUPPORT,PPP,PVP,SIGNAL}]
filename
- filename
- -h, --help
show this help message and exit
- --xml, -x
Extract XML formatted for display
- --channels, -c
List channels
- --txsequences, -t
List transmit pulse sequences
- --raw {XML,SUPPORT,PPP,PVP,SIGNAL}
Extract raw bytes of a BLOCK
References
CRSD 1.0
National Center for Geospatial Intelligence Standards, “Compensated Radar Signal Data (CRSD), Vol. 1, Design & Implementation Description Document, Version 1.0”, 2025. https://nsgreg.nga.mil/doc/view?i=5672
National Center for Geospatial Intelligence Standards, “Compensated Radar Signal Data (CRSD) XML Schema, Version 1.0”, 2025. https://nsgreg.nga.mil/doc/view?i=5673