{"library":"stactools-met-office-deterministic","title":"stactools-met-office-deterministic","type":"library","description":"stactools-met-office-deterministic is a Python package designed for generating SpatioTemporal Asset Catalog (STAC) metadata specifically for data originating from the Met Office Deterministic Numerical Weather Prediction model. It is part of the broader stactools ecosystem, which provides utilities for working with STAC. The current version is 0.4.2, and it typically sees rapid releases within the stactools-packages organization.","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install stactools-met-office-deterministic"],"cli":{"name":"stac","version":"sh: 1: stac: not found"}},"imports":["from stactools.met_office_deterministic import stac"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/stactools-met-office-deterministic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import pystac\nfrom stactools.met_office_deterministic import stac\n\n# Placeholder for your Met Office Deterministic NWP data file path\n# Replace with an actual path to a NetCDF file from the Met Office UKV 2km deterministic forecast.\ninput_data_path = \"/path/to/your/met_office_deterministic_data.nc\"\n\n# Assuming a 'create_item' function exists to generate a STAC Item from a data file\n# The exact parameters may vary; this is a common pattern in stactools packages.\ntry:\n    item = stac.create_item(input_data_path)\n    print(f\"Successfully created STAC Item: {item.id}\")\n    print(f\"Item datetime: {item.datetime}\")\n    # Optionally, save the item to a file\n    # item.save_object(dest_href='/tmp/met_office_item.json')\nexcept AttributeError:\n    print(\"Error: 'stac.create_item' or similar function not found or failed. \"\n          \"Please refer to the actual library source or a more detailed example if available.\")\nexcept FileNotFoundError:\n    print(f\"Error: Input data file not found at {input_data_path}. Please provide a valid path.\")\nexcept Exception as e:\n    print(f\"An unexpected error occurred: {e}\")","lang":"python","description":"This quickstart demonstrates how to use `stactools-met-office-deterministic` to create a STAC Item from a Met Office Deterministic Numerical Weather Prediction model data file. It assumes the existence of a `stac.create_item` function, which is a common pattern across `stactools` dataset packages. Users should replace `/path/to/your/met_office_deterministic_data.nc` with the actual path to their NetCDF data file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-16","installed_version":"0.4.2","pypi_latest":"0.4.2","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":60,"avg_install_s":4.2,"avg_import_s":0.46,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"stactools-met-office-deterministic","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"stactools-met-office-deterministic","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":1.5,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.52,"mem_mb":12.7,"disk_size":"115.6M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4.4,"import_time_s":0.46,"mem_mb":12.7,"disk_size":"108M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.45,"mem_mb":12.4,"disk_size":"103.7M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4.3,"import_time_s":0.46,"mem_mb":12.4,"disk_size":"96M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.38,"mem_mb":12.9,"disk_size":"103.2M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"stactools-met-office-deterministic","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4,"import_time_s":0.47,"mem_mb":12.9,"disk_size":"96M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"stactools-met-office-deterministic","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"stactools-met-office-deterministic","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":1.7,"import_time_s":null,"mem_mb":null,"disk_size":null}]}}