Skip to content

How to query status and valid data ranges of a particular spotter? #33

@sspagnol

Description

@sspagnol

Hi, can some more detailed examples be added to show how to accomplish

from pysofar.sofar import SofarApi
api = SofarApi()
spotter_grid = api.get_spotters()
for spt in spotter_grid:
    print(f"ID: {spt.id}, NAME: {spt.name}, MODE: {spt.mode}, LAT: {spt.lat}, LON: {spt.lon}, TIMESTAMP: {spt.timestamp}")
    # how to get the status of spt? If mode == 'sensorData' does that mean it is inactive?
    # how to get the valid data time ranges for spt?
    # how to get capabilities of spt (eg,has surfaceTemp, barometerData, frequencyData, microphoneData, smartMooringData)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions