tessl install tessl/pypi-h5netcdf@1.6.0netCDF4 file access via h5py with hierarchical and legacy APIs for scientific computing
Agent Success
Agent success rate when using this tile
69%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.83x
Baseline
Agent success rate without this tile
83%
Build a scientific data validation system that stores measurement data with boolean quality flags and uses advanced compression features.
You need to create a system that:
Create a function write_sensor_data(filename, temperatures, flags) that:
Create a function read_sensor_data(filename) that:
@generates
def write_sensor_data(filename: str, temperatures: list, flags: list) -> None:
"""
Write sensor data with quality flags to a file.
Args:
filename: Path to the output file
temperatures: List of temperature measurements (floats)
flags: List of boolean quality control flags
"""
pass
def read_sensor_data(filename: str) -> tuple:
"""
Read sensor data and quality flags from a file.
Args:
filename: Path to the input file
Returns:
Tuple of (temperatures array, flags array)
"""
passProvides netCDF4 file format access with support for extended HDF5 features.
@satisfied-by