RAGU can now ingest RIMFAX data from the MARS 2020 rover - however PDS datafiles must be first parsed into separate files for the shallow, surface, and deep modes. Example code below and included in ingest/ingest_rimfax.py:
data files should first be split up into separate files for each mode of active sounding - use the following commented code to do this:
mode=[26,78,214]
name=['shallow','surface','deep']
for fn in glob.glob('rimfax*.csv'):
f = pd.read_csv(fn, header=0)
for m,n in zip(mode,name):
f_ = f.loc[(f["record_type"]==0) & (f["config_id"]==m)]
f_.to_csv(fn[:-4]+'_'+n+'.csv')