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%
{
"context": "This criteria evaluates how well the engineer uses h5netcdf's compression and chunking features to create an optimized netCDF4 file. The focus is on proper configuration of chunk sizes, compression algorithms, compression levels, and shuffle filters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "File creation",
"description": "Uses h5netcdf (File or legacyapi.Dataset) to create a netCDF4 file with write mode ('w' or 'a')",
"max_score": 3
},
{
"name": "Dimensions definition",
"description": "Creates all four dimensions (time, latitude, longitude, level) with correct sizes, including unlimited time dimension using createDimension or dimensions dictionary",
"max_score": 3
},
{
"name": "Temperature variable",
"description": "Creates temperature variable with correct dimensions (time, level, latitude, longitude) and dtype using createVariable or create_variable",
"max_score": 2
},
{
"name": "Temperature chunking",
"description": "Configures temperature variable with chunks parameter set to (1, 2, 45, 90) or chunksizes=(1, 2, 45, 90)",
"max_score": 20
},
{
"name": "Temperature compression",
"description": "Enables gzip compression on temperature variable with compression='gzip' or zlib=True and sets compression level to 4 using compression_opts=4 or complevel=4",
"max_score": 20
},
{
"name": "Temperature shuffle",
"description": "Enables shuffle filter on temperature variable using shuffle=True",
"max_score": 10
},
{
"name": "Pressure variable",
"description": "Creates pressure variable with correct dimensions (time, latitude, longitude) and dtype using createVariable or create_variable",
"max_score": 2
},
{
"name": "Pressure chunking",
"description": "Configures pressure variable with chunks parameter set to (10, 30, 60) or chunksizes=(10, 30, 60)",
"max_score": 10
},
{
"name": "Pressure compression",
"description": "Enables gzip compression on pressure variable with compression='gzip' or zlib=True and sets compression level to 2 using compression_opts=2 or complevel=2",
"max_score": 10
},
{
"name": "Pressure shuffle",
"description": "Enables shuffle filter on pressure variable using shuffle=True",
"max_score": 5
},
{
"name": "Station_id variable",
"description": "Creates station_id variable with correct dimensions (latitude, longitude), chunks set to (45, 90), and no compression (compression=None or no compression parameters)",
"max_score": 5
},
{
"name": "Attributes",
"description": "Sets global attributes (title, compression_info) using attrs dictionary or setncattr, and variable attributes (units) using variable.attrs or setncattr",
"max_score": 3
},
{
"name": "Data initialization",
"description": "Writes initial data to all three variables using array indexing or slicing (temperature=273.15, pressure=101325.0, station_id=sequential integers)",
"max_score": 7
}
]
}