spedas / pyspedas

Python-based Space Physics Environment Data Analysis Software
https://pyspedas.readthedocs.io/
MIT License
143 stars 58 forks source link

de2 IDM CDFs not ISTP compliant #840

Closed jameswilburlewis closed 2 months ago

jameswilburlewis commented 2 months ago

The CDFs for the DE2 IDM instrument cannot be loaded -- some of the CDF variables have DEPEND_0 attributes pointing to non-existent variables.

I see that there is a DE2 IDM master CDF available at SPDF -- maybe using that would make the data loadable.

jameswilburlewis commented 2 months ago

Adding the master CDF doesn't work (yet, I guess...)

One of the problematic variables is velDirectionZ, with a DEPEND_0 = Epoch_vel (doesn't exist in the file)

The master CDF variable has the same DEPEND_0, but the variable is marked with Variable_Type "Ignore Data" instead of "Data" as it is in the data CDF. I suppose it could be useful to support that kind of check in cdf_to_tplot, but probably even better to look for this issue in the data CDF and handle it appropriately.

I would think this issue could be fixed in the master CDF by setting the master CDF DEPEND_0 to Epoch_velZ rather than the missing Epoch_vel; then again, it might be marked "Ignore_Data" for some other good reason...