api_url is currently hard-coded as https://api.helioviewer.org/v2/ in hvpy.config.Settings, although the use of pydantic.Field allows this to be overriden by environment variable HELIOVIEWER_API_URL.
Other servers, such as the MEDOC/IAS server, can be available when the GSFC server is not available or not up-to-date with the latest data, or can have additional datasets (e.g. Solar Orbiter at ESA). They should also be usable with hvpy.
For the user, it is more convenient to have the possibility to choose the server on the fly, rather than setting an environment variable (which is undocumented). This was possible with sunpy.net.helioviewer as the server was a parameter of HelioviewerClient(), but it doesn't appear that it is currently possible with hvpy.
See also @wafels 's comment on #52.
api_urlis currently hard-coded ashttps://api.helioviewer.org/v2/inhvpy.config.Settings, although the use ofpydantic.Fieldallows this to be overriden by environment variableHELIOVIEWER_API_URL.Other servers, such as the MEDOC/IAS server, can be available when the GSFC server is not available or not up-to-date with the latest data, or can have additional datasets (e.g. Solar Orbiter at ESA). They should also be usable with
hvpy.For the user, it is more convenient to have the possibility to choose the server on the fly, rather than setting an environment variable (which is undocumented). This was possible with
sunpy.net.heliovieweras the server was a parameter ofHelioviewerClient(), but it doesn't appear that it is currently possible withhvpy.See also @wafels 's comment on #52.