fmihpc / analysator

Python based package for analyzing vlsv files produced by Vlasiator
GNU General Public License v2.0
6 stars 32 forks source link

Optimization: read population data only if needed? #280

Open alhom opened 1 month ago

alhom commented 1 month ago

Here's a bunch of reads happening that might not be needed: https://github.com/fmihpc/analysator/blob/16b388fc5c6a7bdb09959de61e5ed5ec92427d8f/pyVlsv/vlsvreader.py#L282

Perhaps a general solution could be to read parameters from a cached version of the XML footer instead? But that'd require moving the metadata to be actually in the footer, not in the offsets. Bleh.

ykempf commented 1 month ago

up

ykempf commented 1 month ago

reup

ykempf commented 1 month ago

upagain