Open jameswilburlewis opened 3 months ago
I see that the rse datatype is using a ".tab" file extension that's not supported by the l2_regex -- I've seen that extension in the kp files, though, so maybe this is really kp data?
And ngi seems to have a ".csv" extension, which doesn't appear in the l2_regex.
iuv might be missing a version number?
There are more issues with the rse files, not just the regex. These are .tab files (TAB delimited text) that currently cannot be handled by the rest of the code and cannot be loaded into tplot. I attach an example of such a file. Since they cannot be loaded, I added code to skip these files.
An additional problem is that the rest of the maven code assumes that any .tab files are kp files, which is not true in this case. For loading .tab files, the code assumes a particular structure inside the .tab file, which is not valid for rse files. So, if we want to load these rse files in the future, a more extensive fix for the existing code will be needed.
This is happening in
get_year_month_day_from_sci_file
from maven/download_file_utilities.py for the rse, iuv, and ngi datatypes.Here's an example of a successfully matched filename: mvn_mag_l2_2016002ss1s_20160102_v01_r01.xml
Apparently the rse, iuv, and ngi filenames don't follow the expected pattern: