Change RMF matrices version #2472
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Astroquery,
The RMF to be used for the spectral analysis should be generated with the same PPS version as the spectrum, background and ARF. The PPS version can be found in SASVERS keyword in the SPECTRUM file, characters [-6:-3]. Once the sas version is determined, the code should look for the proper version of RMF in the FTP tree. However, for the current PPS versions available in the archive, i.e v18.0,v19.0 and v20.0, all RMF matrices are equal among the versions and for all instruments, so it is possible to download the last one, v20.0, available in the root FTP stored in 'rmf_ftp'. In the future, the FTP tree and/or PPS keywords will be modified to make easier to download the appropriate RMF file for each spectrum.
At the moment the version for the RMF matrices is v20.0 so the link to the proper file does not work. Therefore we need this quick patch to get the links to work again.
Kind regards,
Xmm_newton team