When to use raw data
Use raw data records when you want to:- Keep the untransformed cycler export (e.g.
.mpr,.res,.nda,.txt, or a Neware / Maccor / Biologic file) alongside the processed time series it was converted into. - Trace a measurement back to the exact file — and file version — it came from.
- Store one source file that was split into several measurements (for example, a single test file containing formation + RPT + cycling that you uploaded as three separate measurements).
- Combine several source files into one measurement (for example, a run that was paused and resumed, producing two export files).
Raw data records store the file as-is. They are not processed into
measurements automatically — you still convert your file with
ionworksdata and upload the resulting measurement
separately, then attach the raw file for provenance.Upload a raw file
Upload any file from a local path or an open binary handle. The client derives the filename from the file path or handle:
The returned
RawData object has id, project_id, name, filename,
content_type, size_bytes, metadata, and timestamps.
List, get, and download
list returns a paginated response with items, count, and total. The
download_url is signed and expires after a few minutes — request a fresh
one each time you need to download the file.
Update and delete
name and metadata are patchable. The underlying file is immutable — to
replace the bytes, delete the record and upload again.
Link raw files to measurements
The provenance link is many-to-many and lives on the measurement side of the SDK. Attaching is bulk and idempotent — re-attaching an already-linked file is a no-op.list_measurements on the raw data client:
Deleting a measurement removes only its provenance links, never the raw
data record or its file. Raw files are independent, project-owned assets.
End-to-end example
Upload the processed measurement, then archive the original file and link them:Next steps
Preparing data
Convert cycler files into the Ionworks format before uploading a measurement.
Uploading data
Create cell specs, instances, and measurements via the Python API.
Measurements
Time series, properties, and file measurement types.
Projects
Group raw data, studies, and simulations by research initiative.