Fiona reads and writes spatial data files
88
{
"context": "This criteria evaluates how well the engineer uses the Fiona package to access and extract dataset metadata, specifically focusing on proper usage of Fiona's API for retrieving driver information, schema details, spatial bounds, and coordinate reference system data.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Dataset opening",
"description": "Uses fiona.open() to open the dataset file with proper context manager pattern or manual resource management",
"max_score": 15
},
{
"name": "Driver access",
"description": "Accesses the driver name from the opened collection using the .driver property or .meta['driver']",
"max_score": 15
},
{
"name": "Schema extraction",
"description": "Retrieves the schema from the collection using the .schema property, which contains geometry type and properties",
"max_score": 20
},
{
"name": "Geometry type access",
"description": "Extracts the geometry type from the schema dictionary using schema['geometry']",
"max_score": 10
},
{
"name": "Property fields access",
"description": "Accesses property field names and types from schema['properties'], correctly handling the dictionary structure",
"max_score": 15
},
{
"name": "Bounds retrieval",
"description": "Uses the .bounds property or .meta['bounds'] to retrieve the spatial bounding box as a tuple of (minx, miny, maxx, maxy)",
"max_score": 15
},
{
"name": "CRS access",
"description": "Retrieves coordinate reference system information using the .crs property or .meta['crs']",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-fionadocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10