It’s going good.
It’s going good.
The past two weeks were dedicated to the implementation of wavelength functionality. Now, wavelength has been successfully implemented for the applicable instruments. Along with that, a how-to guide has been created to assist users in navigating querying over wavelength for different instruments. Additionally, a gallery example for wavelength and detector has been added.
What’s the direction of implementation:
The implementation of wavelength can be divided into two parts:
- Instruments with a “wavelength” column in SOAR: These remote sensing instruments are EUI, SOLOHI, and METIS. For these instruments, we query on the basis of wavelength.
instrument = a.Instrument("EUI")
time = a.Time("2023-04-03 15:00", "2023-04-03 16:00")
level = a.Level(1)
wavelength = a.Wavelength(304 * u.AA)
res = Fido.search(instrument & time & level & wavelength)
Result:
A range of wavelength can also be passed, which will be considered wavemin and wavemax for these three instruments.
wavelength = a.Wavelength(171 * u.AA, 185 * u.AA)
Result:
2. For the instruments PHI and SPICE, we don’t have a “wavelength” column in their instrument table, so we use wavemin and wavemax for querying.
However, there is a problem with SPICE. Since the range of wavelength is only given for the first spectral window of the data, to ensure the data is not misleading to the user, we do not return any wavelength values.
instrument = a.Instrument("PHI")
time = a.Time("2023-02-01", "2023-02-02")
level = a.Level(2)
wavelength = a.Wavelength(6173.065 * u.AA, 6173.501 * u.AA)
res = Fido.search(instrument & time & level & wavelength)
Result:
Although passing a range of wavelengths is preferred for PHI, if only one value is passed, it will be taken as wavemin, and filtering will be done based on it. Additionally, the corresponding wavemax will be provided in the output table.
wavelength = a.Wavelength(6173.065 * u.AA)
Result:
Challenges that still needs working:
There is an issue with PHI’s wavelength data as well. The wavelengths returned are sometimes in the order of 6173 and sometimes 617.3, which are essentially just different units of similar wavelength data, but this is not specified in SOAR.