sunpy / radiospectra

Provide support for some type of radio spectra on solar physics
https://docs.sunpy.org/projects/radiospectra
BSD 2-Clause "Simplified" License
13 stars 21 forks source link

RSTN data access and loading capabilities #50

Closed hayesla closed 3 years ago

hayesla commented 3 years ago

Description

The Radio Solar Telescope Network (RSTN) is often used by the community, both the 1s fixed frequency data available for 8 frequencies (245, 410, 610 MHz and1.4, 2.7, 5, 8.8, 15.4 GHz) from 4 worldwide networks (Learmonth, San-Vito, Sagmore-Hill, and Paehua) that have different time coverages, and also the dynamic spectra data (25-180MHz) too.

It would be nice to be able to search for this data and then have readers for the text files for the fixed frequency data and for the binary spectral data files, and radiospectra is probably the best place for this.

The data is available here:

Developing a client would be very straight forward, and I already have some readers that can be added here too.

thoughts?

samaloney commented 3 years ago

Hey I totally missed this so this is kinda already done in #44 have added clients and specific spectrograms for Callisto, EOVSA, RSTN, SWAVES, PSP review most welcome

from matplotlib import pyplot as plt
from sunpy.net import Fido, attrs as a

from radiospectra import net
from radiospectra.spectrogram2 import Spectrogram

query = Fido.search(a.Time('2003/03/16 00:00', '2003/03/16 23:59'),
                                  a.Instrument('RSTN'), net.Observatory('San Vito'))
dl = Fido.fetch(query[0])
spec = Spectrogram(dl[0])
spec.plot()
plt.show()

radiospectra-rstn-example

samaloney commented 3 years ago

Closed in #44