Schema Reference

The request and response bodies of the API endpoints. Fields are listed by their Python names: requests also accept the camel case aliases (for example, instrumentColors for instrument_colors) of models derived from CamelModel. A running server also documents every endpoint interactively at /docs.

Satellites, constellations, instruments, and orbits are the schemas of the TAT-C library (tatc.schemas).

Tasks

Analyses and tracks run as tasks: an endpoint enqueues a task and responds with its identifiers, and the results are retrieved once it completes.

pydantic model tatc_app.celery.schemas.CeleryTask

Enqueued Celery task.

field task_id: UUID [Required]

Unique task identifier.

field group_id: UUID | None = None

Unique group task identifier (if applicable).

pydantic model tatc_app.celery.schemas.CeleryResultStatus

Status of an enqueued Celery task.

field ready: bool [Required]

True, if this task is ready.

field successful: bool [Required]

True, if this task was successful.

pydantic model tatc_app.celery.schemas.CeleryResultProgress

Progress of an enqueued Celery group task.

field task_count: int [Required]

Number of sub-tasks to complete.

field completed_count: int [Required]

Number of completed sub-tasks.

Analyses

Requests of all analyses share the satellites, analysis period, and display options of AnalysisRequest, and results with animations share the member tracks of AnimatedResult.

pydantic model tatc_app.analysis.schemas.AnalysisRequest

Base class for requests to analyze satellites and constellations over a period of time.

field satellites: List[Annotated[Annotated[Satellite, Tag(tag=satellite)] | Annotated[WalkerConstellation, Tag(tag=walker)] | Annotated[TrainConstellation, Tag(tag=train)] | Annotated[MOGConstellation, Tag(tag=mog)] | Annotated[SOCConstellation, Tag(tag=soc)], Discriminator(discriminator=_get_space_system_type, custom_error_type=None, custom_error_message=None, custom_error_context=None)]] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^#[0-9a-fA-F]{6}$, ascii_only=None)] | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^#[0-9a-fA-F]{6}$, ascii_only=None)] | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.analysis.schemas.PointsCellsAnalysisRequest

Base class for requests to analyze observations of points, aggregated into cells (coverage and latency analyses).

field points: List[Point] | PointGenerator [Required]

Points from which to collect observations.

field cells: List[Cell] | CellGenerator [Required]

Cells from which to aggregate observations.

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.analysis.schemas.AnimatedResult

Base class for analysis results animated with the orbit tracks of satellites.

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

Results of coverage and latency analyses include a summary over their points: shares of the region, and distributions of the points’ statistics, weighted by the area each point represents for points equally spaced in latitude and longitude (see Weighting).

pydantic model tatc_app.analysis.summary.Distribution

Weighted distribution of a statistic (in its units: seconds for times) over the points with a value.

field count: int [Required]

Number of points with a value.

field mean: float [Required]

Weighted mean.

field median: float [Required]

Weighted median.

field p90: float [Required]

Weighted 90th percentile.

field max: float [Required]

Maximum.

pydantic model tatc_app.analysis.summary.Histogram

Weighted histogram of a statistic (in its units: seconds for times) over the points with a value.

field edges: List[float] [Required]

Edges of equal-width bins, from zero.

field shares: List[float] [Required]

Weighted share of the points with a value in each bin.

pydantic model tatc_app.analysis.summary.CoverageCurve

Weighted share of points observed at least once, over time.

field times: List[float] [Required]

Times (seconds since the start of the analysis).

field shares: List[float] [Required]

Weighted share of points observed by each time.

Coverage and Revisit

pydantic model tatc_app.coverage.schemas.CoverageAnalysisRequest

User request to perform coverage analysis.

field sufficiency: SufficiencyOptions | None = None

Options to also assess sampling sufficiency (null to skip it).

field sample_size: SampleSizeOptions | None = None (alias 'sampleSize')

Options to size the ground samples of observations (null to skip it).

field points: List[Point] | PointGenerator [Required]

Points from which to collect observations.

field cells: List[Cell] | CellGenerator [Required]

Cells from which to aggregate observations.

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.coverage.schemas.CoverageAnalysisResult

Response to provide coverage analysis results.

field points: FeatureCollection [Required]

Point-level coverage statistics (target_hash, samples, mean access and revisit in seconds), for every point. With sufficiency, also the relative_error (and sampling_error, given the field’s standard deviation), effective_samples, revisit_p50 and revisit_p90 (seconds between consecutive samples), max_gap (seconds), and local_time_coverage. With sample sizes, also the sample_size_median and sample_size_min (meters) of its observations, and the numbers of its observations, observations_sized, and observations_meeting the maximum sample size (before coarser observations are dropped).

field cells: FeatureCollection [Required]

Cell-level coverage statistics (cell_id, samples, mean access and revisit in seconds), for every cell. With sufficiency, also the root-mean-square relative_error (and sampling_error) and mean effective_samples of its observed points, and the mean local_time_coverage and longest max_gap of all its points. With sample sizes, also the mean sample_size_median and smallest sample_size_min of its points.

field timeline: Timeline [Required]

Observations of points (in the order of points).

field cell_targets: Dict[str, List[int]] = {}

Indices of the points within each cell, by cell_id.

field summary: CoverageSummary | None = None

Summary of coverage over the points.

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

pydantic model tatc_app.analysis.summary.CoverageSummary

Summary of coverage over the points of a region.

field points: int [Required]

Number of points.

field weighting: Weighting [Required]

Weighting of points.

field observed: float [Required]

Weighted share of points observed at least once.

field revisited: float [Required]

Weighted share of points observed at least twice (which have a revisit time).

field access: Distribution | None = None

Distribution of the mean access time of observed points.

field revisit: Distribution | None = None

Distribution of the mean revisit time of points observed at least twice.

field revisit_histogram: Histogram | None = None

Histogram of the mean revisit time.

field coverage: CoverageCurve [Required]

Share of points observed at least once, over time.

field sufficiency: SufficiencySummary | None = None

Summary of sampling sufficiency, if assessed.

field sample_size: SampleSizeSummary | None = None

Summary of ground sample sizes, if sized.

A coverage analysis may also assess sampling sufficiency (sufficiency of its request): how well the observations of each point estimate the mean of a field over the analysis period, for a field with a decorrelation time, and how they spread in time and local time of day.

pydantic model tatc_app.coverage.schemas.SufficiencyOptions

Options to assess the sampling sufficiency of the observations of each point: how well they estimate the mean of a field over the analysis period, and how they are spread in time and in local time of day.

field decorrelation_time: timedelta [Required] (alias 'decorrelationTime')

Decorrelation time of the field (seconds, or an ISO 8601 duration): the time over which its values become nearly independent, such as hours for convective precipitation or days for synoptic temperature.

field standard_deviation: float | None = None (alias 'standardDeviation')

Standard deviation of the field, to give the sampling error in its units (otherwise only the error relative to it).

Constraints:
  • gt = 0

field target_relative_error: float | None = None (alias 'targetRelativeError')

Required sampling error relative to the field’s standard deviation (such as 0.2), to report the share of the region that meets it.

Constraints:
  • gt = 0

field local_time_bins: int = 8 (alias 'localTimeBins')

Number of equal intervals of the (local solar) day in which to count samples.

Constraints:
  • ge = 1

  • le = 24

pydantic model tatc_app.analysis.summary.SufficiencySummary

Summary of the sampling sufficiency of the points of a region.

field decorrelation_time: float [Required]

Decorrelation time of the field (seconds).

field standard_deviation: float | None = None

Standard deviation of the field, if given.

field target_relative_error: float | None = None

Required relative error, if given.

field sufficient: float | None = None

Weighted share of points whose relative error is at most the target (points not observed have none, and fall short).

field relative_error: Distribution | None = None

Distribution of the sampling error relative to the field’s standard deviation, of observed points.

field relative_error_histogram: Histogram | None = None

Histogram of the relative error.

field sampling_error: Distribution | None = None

Distribution of the sampling error (in the units of the field), given its standard deviation.

field effective_samples: Distribution | None = None

Distribution of the effective number of independent samples of observed points.

field revisit_p90: Distribution | None = None

Distribution of the 90th percentile time (seconds) between consecutive samples, of points observed at least twice.

field max_gap: Distribution | None = None

Distribution of the longest time (seconds) without a sample, including from the start and to the end of the period (the whole period for points not observed).

field max_gap_histogram: Histogram | None = None

Histogram of the longest time without a sample.

field local_time_coverage: float [Required]

Weighted mean share of the intervals of the day in which points are sampled.

field local_time_shares: List[float] [Required]

Weighted share of all samples in each equal interval of the (local solar) day, from midnight.

A coverage (or coincidence) analysis may also size the ground samples of observations (sample_size of its request): the larger of each observation’s pixel and pixel spacing, along and across track, for instruments with pixels. Coverage results summarize the sizes of each point’s observations; a maximum sample size drops coarser observations before coverage (or coincidence) is computed.

pydantic model tatc_app.coverage.schemas.SampleSizeOptions

Options to size the ground samples of observations (see analysis.sample_sizes): their statistics for each point (in coverage results), and an optional requirement that drops coarser observations before coverage (or coincidence) is computed.

field max_sample_size: float | None = None (alias 'maxSampleSize')

Largest sample size (meters) of an observation that counts (null to count every observation): observations with a larger pixel or pixel spacing, along or across track, are dropped. Requires every analyzed instrument to be pointed, or conical with a beam width and a scan sample spacing.

Constraints:
  • gt = 0

pydantic model tatc_app.analysis.summary.SampleSizeSummary

Summary of the ground sample sizes of the observations of the points of a region (in meters).

field max_sample_size: float | None = None

Required maximum sample size (meters), if any.

field observations: int [Required]

Number of observations of the points (by each satellite).

field sized: int [Required]

Number of observations with a sample size (by instruments with pixels).

field meeting: int | None = None

Number of observations at most the maximum sample size (which count toward coverage), if required.

field median: Distribution | None = None

Distribution of the median sample size (meters) of points with a sized observation.

field median_histogram: Histogram | None = None

Histogram of the median sample size (meters).

field best: Distribution | None = None

Distribution of the smallest sample size (meters) of points with a sized observation.

Coincident Observations

A coincidence analysis finds the periods when at least min_platforms distinct platforms (member satellites, or satellites and constellations) observe each point at once, within max_time_difference, and gives the statistics of coverage of those periods: its results and summary are those of a coverage analysis, of coincidences rather than observations.

pydantic model tatc_app.coincidence.schemas.CoincidenceAnalysisRequest

User request to analyze coincident observations: the periods when at least min_platforms platforms observe a point at once (within max_time_difference), with the statistics of coverage of those periods (and, optionally, their sampling sufficiency). A maximum sample size (sample_size) drops coarser observations before coincidences are found; coincidences have no statistics of sample sizes.

field min_platforms: int = 2 (alias 'minPlatforms')

Minimum number of distinct platforms observing a point at once.

Constraints:
  • ge = 2

  • le = 20

field max_time_difference: timedelta = datetime.timedelta(0) (alias 'maxTimeDifference')

Maximum time (seconds, or an ISO 8601 duration) between observations that coincide: the gap between their periods, or between their epochs if instantaneous.

field instantaneous: bool = False

Compare the observations’ epochs (the times points are sampled) rather than their periods (the times points are in view).

field platforms: CoincidencePlatforms = CoincidencePlatforms.members

Distinct platforms: each member satellite (members), or each satellite or constellation of the request (systems).

field sufficiency: SufficiencyOptions | None = None

Options to also assess sampling sufficiency (null to skip it).

field sample_size: SampleSizeOptions | None = None (alias 'sampleSize')

Options to size the ground samples of observations (null to skip it).

field points: List[Point] | PointGenerator [Required]

Points from which to collect observations.

field cells: List[Cell] | CellGenerator [Required]

Cells from which to aggregate observations.

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.coincidence.schemas.CoincidenceAnalysisResult

Response to provide coincident observation analysis results: the statistics of coverage of the coincident periods (each an “observation”, whose samples, access, and revisit are those of coincidences).

field points: FeatureCollection [Required]

Point-level coverage statistics (target_hash, samples, mean access and revisit in seconds), for every point. With sufficiency, also the relative_error (and sampling_error, given the field’s standard deviation), effective_samples, revisit_p50 and revisit_p90 (seconds between consecutive samples), max_gap (seconds), and local_time_coverage. With sample sizes, also the sample_size_median and sample_size_min (meters) of its observations, and the numbers of its observations, observations_sized, and observations_meeting the maximum sample size (before coarser observations are dropped).

field cells: FeatureCollection [Required]

Cell-level coverage statistics (cell_id, samples, mean access and revisit in seconds), for every cell. With sufficiency, also the root-mean-square relative_error (and sampling_error) and mean effective_samples of its observed points, and the mean local_time_coverage and longest max_gap of all its points. With sample sizes, also the mean sample_size_median and smallest sample_size_min of its points.

field timeline: Timeline [Required]

Observations of points (in the order of points).

field cell_targets: Dict[str, List[int]] = {}

Indices of the points within each cell, by cell_id.

field summary: CoverageSummary | None = None

Summary of coverage over the points.

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

Ground Track Swaths

A swath analysis samples the footprints of instruments every step, dissolved into segments that accumulate over the animation (display, by default every step over the analysis period): swath segments are given only over it.

With a region, footprints are clipped to it and sampled over the whole analysis period, to summarize the share of its area observed over time (measured in an equal-area projection of the WGS 84 ellipsoid), its observations (when any part of it is observed), and, with coincidence, the areas that two platforms observe in common within max_time_difference. Without one, footprints are sampled only over the animation.

pydantic model tatc_app.swaths.schemas.SwathAnalysisRequest

User request to analyze the swaths of instruments as they accumulate over time: footprints sampled every step, dissolved into segments.

With a region, footprints are clipped to it and sampled over the whole analysis period, to give the share of its area observed over time, its observations (when any part of it is observed), and optionally the areas that platforms observe in common. Without one, footprints are sampled only over the animation.

Orbit tracks animate results over the display times (by default, every step over the whole analysis period), and swath segments are given only over them, to limit the size of results.

field instrument_index: int | None = 0 (alias 'instrumentIndex')

Instrument index, or null for all instruments.

Constraints:
  • ge = 0

field step: timedelta = datetime.timedelta(seconds=60)

Time step to sample footprints.

Constraints:
  • gt = 0:00:00

field segment: timedelta | None = datetime.timedelta(seconds=600)

Duration of each swath segment (displayed once it ends), or null to give no swath segments.

Constraints:
  • gt = 0:00:00

field region: Polygon | KnownShape | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=True, to_lower=None, strict=None, min_length=3, max_length=3, pattern=None, ascii_only=None), AfterValidator(func=_check_country_code)] | None = None

The region to clip swaths to and whose coverage to summarize: a polygon, a known shape, or a country code (null for no region: unclipped swaths, without a summary).

field coincidence: SwathCoincidenceOptions | None = None

Options to also find coincident swaths over the region (null to skip it).

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.swaths.schemas.SwathCoincidenceOptions

Options to find the coincident swaths of a region: the areas that the footprints of two platforms observe in common, within a time difference.

field max_time_difference: timedelta = datetime.timedelta(0) (alias 'maxTimeDifference')

Maximum time (seconds, or an ISO 8601 duration) between footprints that coincide.

field platforms: CoincidencePlatforms = CoincidencePlatforms.members

Distinct platforms: each member satellite (members), or each satellite or constellation of the request (systems).

pydantic model tatc_app.swaths.schemas.SwathAnalysisResult

Results of a swath analysis.

field swaths: FeatureCollection [Required]

Swath segments (clipped to the region, if any) over the animation, with properties satellite, instrument, start, and end.

field region: FeatureCollection | None = None

The region, if any.

field coincident: FeatureCollection | None = None

Areas of the region observed in common by two platforms over the animation (dissolved by pair and segment), with properties satellite_1, satellite_2, start (the earlier time), and end (the later), if coincident swaths were found.

field observations: List[RegionObservation] = []

Observations of the region (if any), in order of time.

field systems: Dict[str, int] = {}

Index of the requested satellite or constellation of each member satellite, by name.

field summary: RegionSummary | None = None

Summary of the region’s coverage (if any).

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

pydantic model tatc_app.swaths.summary.RegionSummary

Summary of the swath coverage of a region.

field area: float [Required]

Area of the region (square kilometers).

field covered: float [Required]

Share of the region’s area observed at least once.

field coverage: CoverageCurve [Required]

Share of the region’s area observed so far, over time.

field observations: int [Required]

Number of observations of the region (periods when any part of it is observed, overlapping observations merged).

field access: Distribution | None = None

Distribution of the duration (seconds) of observations.

field revisit: Distribution | None = None

Distribution of the time (seconds) from the end of one observation to the start of the next.

field max_gap: float [Required]

Longest time (seconds) without an observation, including from the start and to the end of the period.

field coincidence: SwathCoincidenceSummary | None = None

Summary of coincident swaths, if found.

pydantic model tatc_app.swaths.summary.SwathCoincidenceSummary

Summary of the coincident swaths of a region: the areas that two platforms observe in common, within a time difference.

field pairs: int [Required]

Number of pairs of coincident footprints.

field common: float [Required]

Share of the region’s area observed in common by two platforms (at least once).

field coverage: CoverageCurve [Required]

Share of the region’s area observed in common so far, over time (by the later footprint of each pair).

field time_difference: Distribution | None = None

Distribution of the time (seconds) between the footprints of each pair.

Data Latency

pydantic model tatc_app.latency.schemas.LatencyAnalysisRequest

User request to perform latency analysis.

field stations: List[GroundStation] [Required]

Ground stations to which observations can be downlinked.

Constraints:
  • min_length = 1

field during_contact: Literal['next', 'end', 'immediate'] = 'end' (alias 'duringContact')

Downlink of an observation made during a contact: at the end of that contact, at the next contact, or immediate.

field points: List[Point] | PointGenerator [Required]

Points from which to collect observations.

field cells: List[Cell] | CellGenerator [Required]

Cells from which to aggregate observations.

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.latency.schemas.LatencyAnalysisResult

Response to provide latency analysis results.

field points: FeatureCollection [Required]

Point-level latency statistics (target_hash, samples, mean latency in seconds), for every point.

field cells: FeatureCollection [Required]

Cell-level latency statistics (cell_id, samples, mean latency in seconds), for every cell.

field timeline: Timeline [Required]

Observations of points (in the order of points) from the time observed (start) to the time downlinked (end).

field contacts: Timeline [Required]

Contacts between satellites and ground stations.

field stations: List[GroundStation] [Required]

Ground stations.

field cell_targets: Dict[str, List[int]] = {}

Indices of the points within each cell, by cell_id.

field summary: LatencySummary | None = None

Summary of data latency over the points.

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

pydantic model tatc_app.analysis.summary.LatencySummary

Summary of data latency over the points of a region.

field points: int [Required]

Number of points.

field weighting: Weighting [Required]

Weighting of points.

field downlinked: float [Required]

Weighted share of points with an observation downlinked within the analysis period.

field latency: Distribution | None = None

Distribution of the mean latency of points with a downlinked observation.

field latency_histogram: Histogram | None = None

Histogram of the mean latency.

field contacts: int [Required]

Number of contacts with ground stations.

field contact_duration: float | None = None

Mean duration (seconds) of contacts that end within the analysis period.

Point Access (Overflight)

pydantic model tatc_app.overflight.schemas.OverflightAnalysisRequest

User request to collect overflights (accesses) of points.

field points: List[Point] [Required]

Points from which to collect observations.

Constraints:
  • min_length = 1

  • max_length = 1000

field instrument_index: int | None = None (alias 'instrumentIndex')

Instrument index, or null for all instruments.

Constraints:
  • ge = 0

field omit_solar: bool = True (alias 'omitSolar')

True, if solar angles can be omitted to improve computation speed.

field satellites: List[SpaceSystemInput] [Required]

Satellites and constellations to analyze.

Constraints:
  • min_length = 1

field colors: List[HexColor | None] | None = None

Display colors (#rrggbb) of each satellite or constellation (applied to its members) in animated results.

field instrument_colors: List[List[HexColor | None] | None] | None = None (alias 'instrumentColors')

Display colors (#rrggbb) of the instruments (in order) of each satellite or constellation (applied to its members) in animated results; null derives an instrument’s color from the satellite color.

field exclude_members: List[str] | None = None (alias 'excludeMembers')

Names of member satellites (of the satellites and constellations) to leave out of the analysis.

field start: AwareDatetime [Required]

Start date time of the analysis period.

field end: AwareDatetime [Required]

End date time of the analysis period.

field display: TimeGenerator | None = None

Times at which to sample orbit tracks to animate results (default: 60 second steps over the first day of the analysis period).

pydantic model tatc_app.overflight.schemas.OverflightAnalysisResult

Response to provide overflight analysis results.

field points: FeatureCollection [Required]

Points (point_id, the hash of the geometry, and id) with statistics of observations by all satellites (samples, and mean access and revisit in seconds; overlapping observations by several satellites count once).

field observations: FeatureCollection [Required]

Observations by each satellite and instrument (target_hash, satellite, instrument, start, epoch, end, platform_alt, platform_az, and solar angles unless omitted), sorted by start time.

field timeline: Timeline [Required]

Observations of points (in the order of points).

field tracks: OrbitTracks [Required]

Orbit tracks of satellites.

field colors: Dict[str, str] = {}

Display color of satellites.

Orbit and Ground Tracks

pydantic model tatc_app.tracking.schemas.OrbitTrackAnalysisRequest

User request to perform orbit track analysis.

field satellite: Annotated[Annotated[Satellite, Tag(tag=satellite)] | Annotated[WalkerConstellation, Tag(tag=walker)] | Annotated[TrainConstellation, Tag(tag=train)] | Annotated[MOGConstellation, Tag(tag=mog)] | Annotated[SOCConstellation, Tag(tag=soc)], Discriminator(discriminator=_get_space_system_type, custom_error_type=None, custom_error_message=None, custom_error_context=None)] [Required]

Satellite or constellation from which to observe.

Constraints:
  • discriminator = <function _get_space_system_type at 0x7624772165c0>

field instrument_index: int | None = 0 (alias 'instrumentIndex')

Instrument index, or null for all instruments.

Constraints:
  • ge = 0

field times: List[AwareDatetime] | TimeGenerator [Required]

Times at which to compute the track (at most 20000, and at most TATC_MAX_TRACK_POSITIONS positions of all member satellites).

field elevation: float = 0

Elevation (meters) above datum in the WGS 84 coordinate system.

field mask: Polygon | None = None

Mask to limit the extent of results.

pydantic model tatc_app.tracking.schemas.GroundTrackAnalysisRequest

User request to perform ground track analysis.

field elevation: float | None = None

Elevation (meters) above datum in the WGS 84 coordinate system, or null for the mean elevation of the footprint.

field satellite: SpaceSystemInput [Required]

Satellite or constellation from which to observe.

Constraints:
  • discriminator = <function _get_space_system_type at 0x7624772165c0>

field instrument_index: int | None = 0 (alias 'instrumentIndex')

Instrument index, or null for all instruments.

Constraints:
  • ge = 0

field times: List[AwareDatetime] | TimeGenerator [Required]

Times at which to compute the track (at most 20000, and at most TATC_MAX_TRACK_POSITIONS positions of all member satellites).

field mask: Polygon | None = None

Mask to limit the extent of results.

Points, Cells, and Times

Analyses of a region take points and cells as lists, or as specifications to generate them.

pydantic model tatc_app.generation.schemas.PointGenerator

Specification to generate points.

field method: PointGeneratorMethod = PointGeneratorMethod.equally_spaced

Point generation method.

field distance: float = 1000000.0

Characteristic distance (meters) between points.

Constraints:
  • gt = 0

field elevation: float = 0

Elevation (meters) above datum in the WGS 84 coordinate system.

field mask: Polygon | KnownShape | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=True, to_lower=None, strict=None, min_length=3, max_length=3, pattern=None, ascii_only=None), AfterValidator(func=_check_country_code)] | None = None

Mask to limit the extent of generated points. Allows ISO 3166-1 alpha-3 country codes.

pydantic model tatc_app.generation.schemas.CellGenerator

Specification to generate cells.

field method: CellGeneratorMethod = CellGeneratorMethod.equally_spaced

Cell generation method.

field distance: float = 1000000.0

Characteristic distance (meters) between cell centroids.

Constraints:
  • gt = 0

field elevation: float = 0

Elevation (meters) above datum in the WGS 84 coordinate system.

field mask: Polygon | KnownShape | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=True, to_lower=None, strict=None, min_length=3, max_length=3, pattern=None, ascii_only=None), AfterValidator(func=_check_country_code)] | None = None

Mask to limit the extent of generated cells. Allows ISO 3166-1 alpha-3 country codes.

field strips: CellStrips | None = None

Option for latitude or longitude strips for cells.

pydantic model tatc_app.generation.schemas.TimeGenerator

Specification to generate time series.

field start: AwareDatetime [Required]

Start date time of the observation period.

field end: AwareDatetime [Required]

End date time of the observation period.

field delta: timedelta [Required]

Time step duration.

Constraints:
  • gt = 0:00:00

The outline of a region (a polygon, known shape, or country) displays it.

pydantic model tatc_app.generation.schemas.RegionOutlineRequest

Request for the outline of a region, to display it.

field mask: Polygon | KnownShape | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=True, to_lower=None, strict=None, min_length=3, max_length=3, pattern=None, ascii_only=None), AfterValidator(func=_check_country_code)] | None = None

The region: a polygon, a known shape, or an ISO 3166-1 alpha-3 country code (null for the globe, without an outline).

class tatc_app.generation.schemas.PointGeneratorMethod(*values)

Method for point generation.

equally_spaced = 'equally_spaced'
fibonacci_lattice = 'fibonacci_lattice'
class tatc_app.generation.schemas.CellStrips(*values)

Options for cells in strips.

latitude = 'lat'
longitude = 'lon'
class tatc_app.generation.masks.KnownShape(*values)

Known shapes to use as masks.

conus = 'conus'

Validation

pydantic model tatc_app.validation.router.SpaceSystemValidation

Result of validating a satellite or constellation.

field system: dict [Required]

The normalized satellite or constellation.

field members: List[MemberSummary] [Required]

Member satellites.

pydantic model tatc_app.validation.router.MemberSummary

Summary of a member satellite.

field name: str [Required]

Satellite name.

field orbit_type: str [Required]

Orbit type.

field altitude: float | None = None

Mean altitude (meters) above the mean Earth radius.

field inclination: float | None = None

Inclination (degrees).

field eccentricity: float | None = None

Eccentricity.

field period: float | None = None

Orbital period (seconds).

field instruments: List[str] = []

Instrument names.

System and Instrument Catalogs

pydantic model tatc_app.system_catalog.systems.CatalogSatelliteSystem

A satellite system of the catalog.

field id: str [Required]

System identifier.

field name: str [Required]

System name.

field aliases: list[str] = []

Other names.

field system_class: str [Required]

System class (sun_synchronous, inclined, geostationary).

field role: str [Required]

Role (observing, transmitting, or relaying).

field operator: str [Required]

Organizations that operate it.

field selection: str [Required]

Why the system is cataloged.

field tier: str [Required]

Validation tier of the system.

field limitations: list[str] = []

What it does not represent.

field spacecraft: list[CatalogSpacecraft] [Required]

Its spacecraft.

pydantic model tatc_app.system_catalog.systems.CatalogSpacecraft

A spacecraft of a satellite system of the catalog.

field id: str [Required]

Spacecraft identifier.

field name: str [Required]

Spacecraft name.

field norad_id: int [Required]

NORAD catalog number.

field status: Literal['operational', 'extended', 'storage', 'retired'] [Required]

Status on the date as_of (storage for a spare in orbit).

field as_of: date [Required]

Date of the status.

field instruments: list[CatalogInstrument] = []

Cataloged instruments it carries (other than sounders, which TAT-C analyzes with their own methods).

pydantic model tatc_app.system_catalog.systems.CatalogInstrument

An instrument a spacecraft carries: an entry of the instrument catalog.

field id: str [Required]

Instrument entry identifier.

field name: str [Required]

Instrument name.

pydantic model tatc_app.system_catalog.systems.CatalogBuildRequest

Request to build satellites of a catalog system.

field members: list[str] | None = None

Identifiers (or names) of the spacecraft to build (default: those neither retired nor in storage).

Constraints:
  • min_length = 1

field instruments: bool | list[str] = True

Whether satellites carry their cataloged instruments (otherwise, TAT-C’s default instrument), or the identifiers of the cataloged instruments to carry (each on the satellites that carry it).

field time_step: float = 60

Analysis time step (seconds) to which instruments that scan across track tailor their along-track fields of view.

Constraints:
  • gt = 0

  • le = 3600

field start: AwareDatetime | None = None

Start of the analysis (default: now), for instruments that schedule their tilt by day and spacecraft without GP elements.

field end: AwareDatetime | None = None

End of the analysis (default: one day after the start), for instruments that schedule their tilt by day.

pydantic model tatc_app.system_catalog.systems.CatalogBuildResult

Satellites built from a catalog system.

field system: str [Required]

System identifier.

field name: str [Required]

System name.

field satellites: list[dict] [Required]

The satellites, in the schema of the TAT-C library.

field members: list[CatalogMember] [Required]

The satellites built.

field warnings: list[str] = []

What the satellites do not model.

pydantic model tatc_app.system_catalog.systems.CatalogMember

A satellite built from a catalog system.

field id: str [Required]

Spacecraft identifier.

field name: str [Required]

Satellite name.

field norad_id: int [Required]

NORAD catalog number.

field orbit_source: Literal['celestrak', 'catalog'] [Required]

Source of the orbit: GP elements from CelesTrak, or the cataloged (idealized) orbit, if CelesTrak has no data.

field epoch: str | None = None

Epoch (UTC) of GP elements.

pydantic model tatc_app.system_catalog.instruments.CatalogInstrumentEntry

An instrument of the instrument catalog.

field id: str [Required]

Entry identifier.

field name: str [Required]

Instrument name.

field aliases: list[str] = []

Other names.

field instrument_class: str [Required]

Instrument class.

field selection: str [Required]

Why the instrument is cataloged.

field tier: str [Required]

Validation tier of the instrument.

field platforms: list[str] [Required]

Spacecraft that carry it.

field limitations: list[str] = []

What it does not represent.

field default_configuration: str [Required]

Default configuration.

field configurations: list[CatalogConfiguration] [Required]

Ways of modeling it.

pydantic model tatc_app.system_catalog.instruments.CatalogConfiguration

A configuration of a cataloged instrument.

field id: str [Required]

Configuration identifier.

field grade: str [Required]

Use it is validated for (coverage, timing, sample_size).

field tier: str [Required]

Validation tier of the configuration.

field description: str [Required]

What the configuration represents.

field instruments: int [Required]

Number of instruments (views).

field grouping: str | None = None

How multiple instruments relate: union (parts of one view) or alternatives (views analyzed one at a time).

field tilt_schedule: bool = False

Whether its tilt is scheduled by day.

pydantic model tatc_app.system_catalog.instruments.CatalogInstrumentRequest

Request to add a cataloged instrument to a satellite or constellation.

field system: dict[str, Any] [Required]

The satellite or constellation, in the schema of the TAT-C library, whose orbit the instrument is built for.

field configuration: str | None = None

The configuration (default: the entry’s default).

field replace: bool = False

Whether the instrument replaces the existing instruments (otherwise, it is added to them).

field time_step: float = 60

Analysis time step (seconds) to which instruments that scan across track tailor their along-track fields of view.

Constraints:
  • gt = 0

  • le = 3600

field start: AwareDatetime | None = None

Start of the analysis (default: now), for instruments that schedule their tilt by day and spacecraft without GP elements.

field end: AwareDatetime | None = None

End of the analysis (default: one day after the start), for instruments that schedule their tilt by day.

pydantic model tatc_app.system_catalog.instruments.CatalogInstrumentResult

A satellite or constellation with a cataloged instrument added.

field system: dict[str, Any] [Required]

The satellite or constellation, with the instrument.

field entry: str [Required]

Entry identifier.

field configuration: str [Required]

Configuration identifier.

field added: list[str] [Required]

Names of the instruments added.

field attitude_changed: bool [Required]

Whether the attitude changed, which also orients the instruments the satellite already carried.

field notes: list[str] = []

What the instrument does not model.

CelesTrak

pydantic model tatc_app.celestrak.catalog.CelestrakSearchResult

Result of a search of the CelesTrak catalog.

field group: str [Required]

CelesTrak group searched.

field downloaded: AwareDatetime | None = None

Time the catalog was downloaded from CelesTrak.

field total: int [Required]

Number of matching objects.

field objects: list[CelestrakObject] [Required]

Matching objects (up to the requested limit).

pydantic model tatc_app.celestrak.catalog.CelestrakObject

An object found in the CelesTrak catalog.

field name: str [Required]

Object name.

field norad_cat_id: int [Required]

NORAD catalog number.

field object_id: str | None = None

International designator.

field epoch: str [Required]

Epoch (UTC) of the elements.

field orbit: TwoLineElements | GeneralPerturbationsOrbit [Required]

Orbit: two line elements for catalog numbers up to 339999, otherwise general perturbations.

field gp_orbit: GeneralPerturbationsOrbit [Required]

Orbit as general perturbations elements (from the orbit mean-elements message), for any catalog number.

Authentication

pydantic model tatc_app.auth.AuthInfo

The authentication mode and current user.

field mode: Literal['oidc', 'none'] [Required]

Authentication mode.

field user: User [Required]

The current user.

pydantic model tatc_app.auth.User

An authenticated user.

field id: str [Required]

Unique user identifier (OIDC subject).

field email: str | None = None

Email address.

field name: str | None = None

Display name.

Saved Designs and Runs

Signed-in users save designs (as the GUI exports them) and analysis runs to their account. A saved run keeps its request (to run it again), its design, and the summary of its results (for coverage and latency analyses), not the full results.

pydantic model tatc_app.library.schemas.DesignInput

A design to save: satellites and constellations (and their display colors), ground stations, and target points, as the GUI exports them.

field name: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=100, pattern=None, ascii_only=None)] [Required]

Name of the design.

Constraints:
  • strip_whitespace = True

  • min_length = 1

  • max_length = 100

field design: Dict[str, Any] [Required]

The design (as exported).

pydantic model tatc_app.library.schemas.DesignInfo

A saved design, without its data.

field id: UUID [Required]

Identifier of the saved design.

field name: str [Required]

Name of the design.

field created: str [Required]

Time (ISO 8601) it was first saved.

field updated: str [Required]

Time (ISO 8601) it was last saved.

field satellites: int [Required]

Number of satellites and constellations of the design.

field runs: int [Required]

Number of analysis runs saved under it.

pydantic model tatc_app.library.schemas.SavedDesign

A saved design, with its data.

field design: Dict[str, Any] [Required]

The design (as exported).

field id: UUID [Required]

Identifier of the saved design.

field name: str [Required]

Name of the design.

field created: str [Required]

Time (ISO 8601) it was first saved.

field updated: str [Required]

Time (ISO 8601) it was last saved.

field satellites: int [Required]

Number of satellites and constellations of the design.

field runs: int [Required]

Number of analysis runs saved under it.

pydantic model tatc_app.library.schemas.RunInput

An analysis run to save: its request (to run it again) and the design it analyzed (to show it again), with the summary of the results of its task.

field name: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=100, pattern=None, ascii_only=None)] [Required]

Name of the run.

Constraints:
  • strip_whitespace = True

  • min_length = 1

  • max_length = 100

field analysis: AnalysisType [Required]

Type of the analysis.

field design_id: UUID | None = None (alias 'designId')

Identifier of the saved design to save the run under (the design it analyzes may since differ), or null for none.

field task_id: UUID [Required] (alias 'taskId')

Identifier of the completed analysis task, whose results summarize the run (for coverage and latency analyses).

field request: Dict[str, Any] [Required]

The analysis request.

field design: Dict[str, Any] [Required]

The design (as exported).

pydantic model tatc_app.library.schemas.RunUpdate

Changes to a saved run: its name, or the saved design it is saved under (null for none). Fields left out do not change.

field name: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=100, pattern=None, ascii_only=None)] | None = None

Name of the run.

field design_id: UUID | None = None (alias 'designId')

Identifier of the saved design, or null for none.

pydantic model tatc_app.library.schemas.RunInfo

A saved analysis run, with its summary but without its inputs.

field id: UUID [Required]

Identifier of the saved run.

field name: str [Required]

Name of the run.

field analysis: AnalysisType [Required]

Type of the analysis.

field design_id: UUID | None = None

Identifier of the saved design it is saved under.

field created: str [Required]

Time (ISO 8601) it was saved.

field summary: Dict[str, Any] | None = None

Summary of the results (CoverageSummary or LatencySummary), or null for analyses without one.

pydantic model tatc_app.library.schemas.SavedRun

A saved analysis run, with its inputs.

field request: Dict[str, Any] [Required]

The analysis request.

field design: Dict[str, Any] [Required]

The design (as exported).

field id: UUID [Required]

Identifier of the saved run.

field name: str [Required]

Name of the run.

field analysis: AnalysisType [Required]

Type of the analysis.

field design_id: UUID | None = None

Identifier of the saved design it is saved under.

field created: str [Required]

Time (ISO 8601) it was saved.

field summary: Dict[str, Any] | None = None

Summary of the results (CoverageSummary or LatencySummary), or null for analyses without one.