NDAClient#
- class radiospectra.net.NDAClient[source]#
Bases:
GenericClientClient for Nançay Decameter Array (NDA) solar radio observations.
This client searches data in the
NewRoutineformat available here: https://cdn.obs-nancay.fr/repository/nda/newroutine/soleil/Data source: https://cdn.obs-nancay.fr/repository/nda/newroutine/soleil/
Examples
>>> from radiospectra import net >>> from sunpy.net import Fido, attrs as a >>> query = Fido.search( ... a.Time("2025-03-26", "2025-03-27"), ... a.Instrument("NDA")) >>> query <sunpy.net.fido_factory.UnifiedResponse object at ...> Results from 1 Provider: 1 Results from the NDAClient: Source: https://cdn.obs-nancay.fr/repository/nda/newroutine/soleil/ Start Time End Time Instrument Physobs Provider Source Version ----------------------- ------------------- ---------- ---------- --------- ------ ------- 2025-03-26 07:56:00.000 2025-03-26 15:55:00 NDA radio_flux OBSNANCAY NDA 1.1
Attributes Summary
This should return a string that is a URL to the data server or documentation on the data being served.
Methods Summary
post_search_hook(exdict, matchdict)Helper function used after
search()which makes the extracted metadata representable in a query response table.This enables the client to register what kind of Attrs it can use directly.
Attributes Documentation
- info_url#
- pattern = 'https://cdn.obs-nancay.fr/repository/nda/newroutine/soleil/{{year:4d}}/{{month:2d}}/orn_nda_newroutine_sun_edr_{{year:4d}}{{month:2d}}{{day:2d}}{{hour:2d}}{{minute:2d}}_{{end_year:4d}}{{end_month:2d}}{{end_day:2d}}{{end_hour:2d}}{{end_minute:2d}}_v{{version}}.fits'#
Methods Documentation