schemas.py

The schemas.py file defines the message contents and data types that the ground station produces. It is necessary to keep the schema up-to-date if you add further information to the message as it will ensure that the messages are formatted properly.

Ground Station Location

pydantic settings GroundLocation

Show JSON schema
{
   "title": "GroundLocation",
   "type": "object",
   "properties": {
      "groundId": {
         "description": "Unique ground station identifier.",
         "title": "Groundid",
         "type": "integer"
      },
      "latitude": {
         "description": "Latitude (deg) of ground station.",
         "maximum": 90,
         "minimum": -90,
         "title": "Latitude",
         "type": "number"
      },
      "longitude": {
         "description": "Longitude (deg) of ground station.",
         "maximum": 180,
         "minimum": -180,
         "title": "Longitude",
         "type": "number"
      },
      "elevAngle": {
         "description": "Minimum elevation angle (deg) for satellite-ground communications",
         "title": "Elevangle",
         "type": "number"
      }
   },
   "required": [
      "groundId",
      "latitude",
      "longitude",
      "elevAngle"
   ]
}

Fields:
  • elevAngle (float)

  • groundId (int)

  • latitude (float)

  • longitude (float)

field elevAngle: float [Required]

Minimum elevation angle (deg) for satellite-ground communications

field groundId: int [Required]

Unique ground station identifier.

field latitude: float [Required]

Latitude (deg) of ground station.

Constraints:
  • ge = -90

  • le = 90

field longitude: float [Required]

Longitude (deg) of ground station.

Constraints:
  • ge = -180

  • le = 180