Bill asked me to read in data produced by Python's np.save command, where a variable is dumped to a binary file along with metadata to support multi-dimensional arrays. An npz file is a zip file containing multiple npy files.
Autoplot's .zip filesystem support handles the npz part, and I wrote a parser quickly with the help of ChatGPT.
These should be recognized by Autoplot and supported file extension types.
This is done and will be in the next release.
Note structures are not supported--only int, double, and long types.
Here's code for writing a string to a file:
I noticed when playing with v2025a_11 that something is missing from the zip file implementation. So this is not done...
I'm not sure if that's really a problem or not, since we might want to have a source which handles npz files directly (and maybe allowing X=...&Y=...&Z=... as with IDLSAVE files).