Class API

SciWrid Toolkit — library usage

Importing SciWrid Toolkit as a library and driving its class-based public API: load a file once, then reuse the instance across metadata and extract calls.

1. Load File

await lib.read(file)

2. Inspect


  
3. Extract

lib.extract({ variable, lat, lon, type })




T1/T2 are time step indices (0-based). Leave T2 blank for all steps up to the end.


  
4. Cleanup