ska_oso_pdm.schemas.common.sb_definition
The schemas.scheduling_block_schema defines a Marshmallow schema that maps the scan definition section of an SKA scheduling block to/from a JSON representation.
- class MetaDataSchema(*args: Any, **kwargs: Any)[source]
The MetaData section of an SKA scheduling block
- create_metadata(data, **_)
Convert parsed JSON back into a metadata
- Parameters:
data – dict containing parsed JSON values
_ – kwargs passed by Marshmallow
- Returns:
SBDefinition instance populated to match JSON
- filter_nulls(data, **_)
Filter out null values from JSON.
- Parameters:
data – Marshmallow-provided dict containing parsed object values
_ – kwargs passed by Marshmallow
- Returns:
dict suitable for metadata
- class SBDefinitionSchema(*args: Any, **kwargs: Any)[source]
SKA scheduling block
- create_scheduling_block(data, **_)
Convert parsed JSON back into a ScanRequest
- Parameters:
data – dict containing parsed JSON values
_ – kwargs passed by Marshmallow
- Returns:
SBDefinition instance populated to match JSON
- dish_allocations
alias of
DishAllocationSchema
- dish_configurations
alias of
DishConfigurationSchema
- filter_nulls(data, **_)
Filter out null values from JSON.
- Parameters:
data – Marshmallow-provided dict containing parsed object values
_ – kwargs passed by Marshmallow
- Returns:
dict suitable for scan definition
- mccs_allocation
alias of
MCCSAllocationSchema
- metadata
alias of
MetaDataSchema
- sdp_configuration
alias of
SDPConfigurationSchema
- subarray_beam_configurations
alias of
SubarrayBeamConfigurationSchema
- target_beam_configurations
alias of
TargetBeamConfigurationSchema
- targets
alias of
TargetSchema
- telescope
alias of
TelescopeType