diff --git a/docs/.doctrees/environment.pickle b/docs/.doctrees/environment.pickle index 4680e45c..af7ecf5b 100644 Binary files a/docs/.doctrees/environment.pickle and b/docs/.doctrees/environment.pickle differ diff --git a/docs/.doctrees/pyhazards_datasets.doctree b/docs/.doctrees/pyhazards_datasets.doctree index 022494c4..d971ceed 100644 Binary files a/docs/.doctrees/pyhazards_datasets.doctree and b/docs/.doctrees/pyhazards_datasets.doctree differ diff --git a/docs/_sources/pyhazards_datasets.rst.txt b/docs/_sources/pyhazards_datasets.rst.txt index 70388ad2..2bd18413 100644 --- a/docs/_sources/pyhazards_datasets.rst.txt +++ b/docs/_sources/pyhazards_datasets.rst.txt @@ -4,7 +4,12 @@ Datasets Summary ------- -PyHazards provides a unified dataset interface for hazard prediction across tabular, temporal, and raster data. Each dataset returns a DataBundle containing splits, feature specs, label specs, and metadata. +PyHazards maintains a curated catalog of commonly used hazard datasets and provides +dataset-specific utilities for **download / preprocessing / inspection / visualization**. + +Each dataset page describes: (1) what the dataset is, (2) how to obtain it, and (3) how to +quickly validate local data files via an inspection entrypoint (when available). + Datasets -------------------- @@ -38,53 +43,103 @@ Datasets * - :doc:`goesr ` - High-frequency geostationary multispectral imagery from the `NOAA GOES-R series `_, supporting continuous monitoring (e.g., smoke/thermal context) and early detection workflows when paired with fire and meteorology datasets. + Dataset inspection ------------------ -PyHazards provides a built-in inspection utility that allows users to -quickly explore dataset structure and contents through a unified API. +PyHazards provides dataset inspection entrypoints to quickly validate local files and produce +basic summaries/plots. + +Currently implemented: -The example below demonstrates how to inspect a daily MERRA-2 file using -the PyHazards dataset interface. +- **MERRA-2 (merra2)**: one-shot pipeline to **download raw MERRA-2 → merge SFC+PRES → inspect → save plots/tables**. .. code-block:: bash + # One command: download (if needed) -> merge -> inspect -> save outputs python -m pyhazards.datasets.inspection 20260101 -Core classes ------------- +Notes (MERRA-2) +~~~~~~~~~~~~~~~ + +- Download requires Earthdata credentials via environment variables:: + + export EARTHDATA_USERNAME="YOUR_USERNAME" + export EARTHDATA_PASSWORD="YOUR_PASSWORD" + +- Date formats accepted: ``YYYYMMDD`` (e.g., ``20260101``) or ISO ``YYYY-MM-DD``. +- Optional flags commonly used: + - ``--outdir outputs`` (default: ``outputs`` under repo root) + - ``--skip-download`` / ``--skip-merge`` for re-running on existing files + - ``--force-download`` to re-fetch raw files + - ``--var T2M`` to choose the plotted surface variable (default: ``T2M``) -- ``Dataset``: base class to implement ``_load()`` and return a ``DataBundle``. -- ``DataBundle``: holds named ``DataSplit`` objects, plus ``feature_spec`` and ``label_spec``. -- ``FeatureSpec`` / ``LabelSpec``: describe inputs/targets to simplify model construction. -- ``register_dataset`` / ``load_dataset``: lightweight registry for discovering datasets by name. Example skeleton ---------------- +A "nice" skeleton should make it explicit **what data you load** and how it flows into +**inspection/visualization**. + +Below is the recommended pattern: set ``data`` to a dataset name (e.g., ``"merra2"`` or ``"mtbs"``) +and run the dataset's inspection entrypoint accordingly. + .. code-block:: python - import torch - from pyhazards.datasets import ( - DataBundle, DataSplit, Dataset, FeatureSpec, LabelSpec, register_dataset - ) - - class MyHazardDataset(Dataset): - name = "my_hazard" - - def _load(self): - x = torch.randn(1000, 16) - y = torch.randint(0, 2, (1000,)) - splits = { - "train": DataSplit(x[:800], y[:800]), - "val": DataSplit(x[800:900], y[800:900]), - "test": DataSplit(x[900:], y[900:]), - } - return DataBundle( - splits=splits, - feature_spec=FeatureSpec(input_dim=16, description="example features"), - label_spec=LabelSpec(num_targets=2, task_type="classification"), - ) - - register_dataset(MyHazardDataset.name, MyHazardDataset) + import subprocess + + # 1) Choose what dataset you want to load/inspect + data = "merra2" # e.g., "merra2", "mtbs", "era5", "firms", "landfire", "wfigs", "goesr" (use accordingly) + + # 2) Choose the dataset key (identifier) + # - For MERRA-2, the key is a daily date: "YYYYMMDD" (e.g., "20260101") + # - For other datasets (e.g., MTBS), the key could be an event/scene id (to be defined per dataset) + key = "20260101" + + # 3) Run the inspection pipeline (download/preprocess if needed -> inspect -> visualize -> save outputs) + if data == "merra2": + cmd = [ + "python", "-m", "pyhazards.datasets.inspection", + key, + "--var", "T2M", # change variable to plot (e.g., QV2M) + "--outdir", "outputs", # output folder under repo root by default + ] + else: + # Convention for other datasets: + # provide a dataset-specific inspection entrypoint: + # python -m pyhazards.datasets..inspection ... + cmd = ["python", "-m", f"pyhazards.datasets.{data}.inspection", key, "--outdir", "outputs"] + + subprocess.run(cmd, check=True) + + # 4) After running, check outputs/ for saved artifacts (tables + plots). + # Example (MERRA-2): CSV tables for variable inventory + a PDF plot for the selected surface variable. + + +Inspection entrypoints (convention for all datasets) +---------------------------------------------------- + +Each dataset should expose a minimal inspection entrypoint that supports the same user experience: + +- **Input**: a dataset identifier (``key``) such as a date/event id. +- **Work**: download/prepare (if needed) → open files → summarize → visualize. +- **Output**: saved artifacts under ``outputs/`` (tables + figures). + +Recommended CLI shape (dataset-specific): + +.. code-block:: bash + + # Example convention (to be implemented per dataset): + python -m pyhazards.datasets..inspection --outdir outputs + + +Developer note +-------------- + +If you plan to add inspection for a new dataset, mirror the MERRA-2 inspection pattern: + +1) parse CLI args (key + outdir + skip/force flags), +2) materialize required local files (download/preprocess), +3) open files and print structure/statistics, +4) generate at least one saved visualization to ``outputs/``. diff --git a/docs/pyhazards_datasets.html b/docs/pyhazards_datasets.html index 07e1be46..363a111b 100644 --- a/docs/pyhazards_datasets.html +++ b/docs/pyhazards_datasets.html @@ -263,7 +263,10 @@

Datasets

Summary

-

PyHazards provides a unified dataset interface for hazard prediction across tabular, temporal, and raster data. Each dataset returns a DataBundle containing splits, feature specs, label specs, and metadata.

+

PyHazards maintains a curated catalog of commonly used hazard datasets and provides +dataset-specific utilities for download / preprocessing / inspection / visualization.

+

Each dataset page describes: (1) what the dataset is, (2) how to obtain it, and (3) how to +quickly validate local data files via an inspection entrypoint (when available).

Datasets

@@ -304,51 +307,95 @@

Datasets

Dataset inspection

-

PyHazards provides a built-in inspection utility that allows users to -quickly explore dataset structure and contents through a unified API.

-

The example below demonstrates how to inspect a daily MERRA-2 file using -the PyHazards dataset interface.

-
python -m pyhazards.datasets.inspection 20260101
+

PyHazards provides dataset inspection entrypoints to quickly validate local files and produce +basic summaries/plots.

+

Currently implemented:

+
    +
  • MERRA-2 (merra2): one-shot pipeline to download raw MERRA-2 → merge SFC+PRES → inspect → save plots/tables.

  • +
+
# One command: download (if needed) -> merge -> inspect -> save outputs
+python -m pyhazards.datasets.inspection 20260101
 
-
-
-

Core classes

-
    -
  • Dataset: base class to implement _load() and return a DataBundle.

  • -
  • DataBundle: holds named DataSplit objects, plus feature_spec and label_spec.

  • -
  • FeatureSpec / LabelSpec: describe inputs/targets to simplify model construction.

  • -
  • register_dataset / load_dataset: lightweight registry for discovering datasets by name.

  • +
    +

    Notes (MERRA-2)

    +
      +
    • Download requires Earthdata credentials via environment variables:

      +
      export EARTHDATA_USERNAME="YOUR_USERNAME"
      +export EARTHDATA_PASSWORD="YOUR_PASSWORD"
      +
      +
      +
    • +
    • Date formats accepted: YYYYMMDD (e.g., 20260101) or ISO YYYY-MM-DD.

    • +
    • Optional flags commonly used: +- --outdir outputs (default: outputs under repo root) +- --skip-download / --skip-merge for re-running on existing files +- --force-download to re-fetch raw files +- --var T2M to choose the plotted surface variable (default: T2M)

    +

Example skeleton

-
import torch
-from pyhazards.datasets import (
-    DataBundle, DataSplit, Dataset, FeatureSpec, LabelSpec, register_dataset
-)
+

A “nice” skeleton should make it explicit what data you load and how it flows into +inspection/visualization.

+

Below is the recommended pattern: set data to a dataset name (e.g., "merra2" or "mtbs") +and run the dataset’s inspection entrypoint accordingly.

+
import subprocess
+
+# 1) Choose what dataset you want to load/inspect
+data = "merra2"   # e.g., "merra2", "mtbs", "era5", "firms", "landfire", "wfigs", "goesr" (use accordingly)
 
-class MyHazardDataset(Dataset):
-    name = "my_hazard"
+# 2) Choose the dataset key (identifier)
+#    - For MERRA-2, the key is a daily date: "YYYYMMDD" (e.g., "20260101")
+#    - For other datasets (e.g., MTBS), the key could be an event/scene id (to be defined per dataset)
+key = "20260101"
 
-    def _load(self):
-        x = torch.randn(1000, 16)
-        y = torch.randint(0, 2, (1000,))
-        splits = {
-            "train": DataSplit(x[:800], y[:800]),
-            "val": DataSplit(x[800:900], y[800:900]),
-            "test": DataSplit(x[900:], y[900:]),
-        }
-        return DataBundle(
-            splits=splits,
-            feature_spec=FeatureSpec(input_dim=16, description="example features"),
-            label_spec=LabelSpec(num_targets=2, task_type="classification"),
-        )
+# 3) Run the inspection pipeline (download/preprocess if needed -> inspect -> visualize -> save outputs)
+if data == "merra2":
+    cmd = [
+        "python", "-m", "pyhazards.datasets.inspection",
+        key,
+        "--var", "T2M",           # change variable to plot (e.g., QV2M)
+        "--outdir", "outputs",    # output folder under repo root by default
+    ]
+else:
+    # Convention for other datasets:
+    # provide a dataset-specific inspection entrypoint:
+    #   python -m pyhazards.datasets.<dataset>.inspection <key> ...
+    cmd = ["python", "-m", f"pyhazards.datasets.{data}.inspection", key, "--outdir", "outputs"]
 
-register_dataset(MyHazardDataset.name, MyHazardDataset)
+subprocess.run(cmd, check=True)
+
+# 4) After running, check outputs/ for saved artifacts (tables + plots).
+#    Example (MERRA-2): CSV tables for variable inventory + a PDF plot for the selected surface variable.
 
+
+

Inspection entrypoints (convention for all datasets)

+

Each dataset should expose a minimal inspection entrypoint that supports the same user experience:

+
    +
  • Input: a dataset identifier (key) such as a date/event id.

  • +
  • Work: download/prepare (if needed) → open files → summarize → visualize.

  • +
  • Output: saved artifacts under outputs/ (tables + figures).

  • +
+

Recommended CLI shape (dataset-specific):

+
# Example convention (to be implemented per dataset):
+python -m pyhazards.datasets.<dataset>.inspection <key> --outdir outputs
+
+
+
+
+

Developer note

+

If you plan to add inspection for a new dataset, mirror the MERRA-2 inspection pattern:

+
    +
  1. parse CLI args (key + outdir + skip/force flags),

  2. +
  3. materialize required local files (download/preprocess),

  4. +
  5. open files and print structure/statistics,

  6. +
  7. generate at least one saved visualization to outputs/.

  8. +
+

@@ -409,9 +456,13 @@

Example skeletonDatasets diff --git a/docs/searchindex.js b/docs/searchindex.js index 7243a251..e056e83f 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Academic Publications": [[25, "academic-publications"]], "Access": [[8, "access"], [9, "access"], [10, "access"], [11, "access"], [12, "access"], [13, "access"], [14, "access"], [15, "access"]], "At-a-glance (Quick Facts)": [[8, null], [9, null], [10, null], [11, null], [12, null], [13, null], [14, null], [15, null]], "Basic Usage": [[24, "basic-usage"]], "Build a built-in model": [[22, "build-a-built-in-model"]], "Contributors": [[26, "contributors"]], "Core Components": [[17, "core-components"]], "Core Contributors": [[26, "core-contributors"]], "Core Team": [[26, null]], "Core classes": [[19, "core-classes"], [21, "core-classes"]], "Core modules": [[20, "core-modules"], [22, "core-modules"]], "Data Characteristics": [[8, "data-characteristics"], [9, "data-characteristics"], [10, "data-characteristics"], [11, "data-characteristics"], [12, "data-characteristics"], [13, "data-characteristics"], [14, "data-characteristics"], [15, "data-characteristics"]], "Dataset inspection": [[19, "dataset-inspection"]], "Datasets": [[16, "datasets"], [19, null], [19, "id1"]], "Design notes": [[22, "design-notes"]], "Distributed and devices": [[20, "distributed-and-devices"]], "ERA5": [[8, null]], "Engine": [[20, null]], "Example skeleton": [[19, "example-skeleton"]], "FIRMS": [[9, null]], "GOES-R": [[10, null]], "GPU Support": [[24, "gpu-support"]], "How to Cite": [[7, null], [17, "how-to-cite"]], "Implementation Guide": [[16, null]], "Indices and tables": [[17, "indices-and-tables"]], "Installation": [[18, null]], "Installing PyHazards": [[18, "installing-pyhazards"]], "LANDFIRE": [[11, null]], "Lead Developer": [[26, "lead-developer"]], "MERRA-2": [[12, null]], "MTBS": [[13, null]], "Mamba-based wildfire model (spatio-temporal)": [[22, "mamba-based-wildfire-model-spatio-temporal"]], "Metrics": [[16, "metrics"], [21, null]], "Models": [[16, "models"], [22, null]], "Module contents": [[1, "module-pyhazards"], [2, "module-pyhazards.datasets"], [3, "module-pyhazards.engine"], [5, "module-pyhazards.models"], [6, "module-pyhazards.utils"]], "NOAA Flood Events": [[14, null]], "Next Steps": [[24, "next-steps"]], "Overview": [[8, "overview"], [9, "overview"], [10, "overview"], [11, "overview"], [12, "overview"], [13, "overview"], [14, "overview"], [15, "overview"]], "Principal Contributors & Maintainers": [[26, "principal-contributors-maintainers"]], "Quick Start": [[24, null]], "Reference": [[8, "reference"], [9, "reference"], [10, "reference"], [11, "reference"], [12, "reference"], [13, "reference"], [14, "reference"], [15, "reference"]], "References": [[25, null]], "Register a custom model": [[22, "register-a-custom-model"]], "Requirements": [[18, "requirements"]], "Stats": [[8, "stats"], [9, "stats"], [10, "stats"], [11, "stats"], [12, "stats"], [13, "stats"], [14, "stats"], [15, "stats"]], "Submodules": [[2, "submodules"], [3, "submodules"], [5, "submodules"], [6, "submodules"], [23, "submodules"]], "Subpackages": [[1, "subpackages"]], "Summary": [[19, "summary"], [20, "summary"], [21, "summary"], [22, "summary"], [23, "summary"]], "Toy Example (tabular classification)": [[24, "toy-example-tabular-classification"]], "Training": [[16, "training"]], "Transforms": [[16, "transforms"]], "Typical Use Cases": [[8, "typical-use-cases"], [9, "typical-use-cases"], [10, "typical-use-cases"], [11, "typical-use-cases"], [12, "typical-use-cases"], [13, "typical-use-cases"], [14, "typical-use-cases"], [15, "typical-use-cases"]], "Typical usage": [[20, "typical-usage"]], "Usage": [[21, "usage"]], "Utils": [[23, null]], "Variables": [[8, "variables"], [9, "variables"], [10, "variables"], [11, "variables"], [12, "variables"], [13, "variables"], [14, "variables"], [15, "variables"]], "WFIGS": [[15, null]], "Wildfire Mamba (spatio-temporal toy)": [[17, null]], "pyhazards": [[0, null]], "pyhazards package": [[1, null]], "pyhazards.datasets package": [[2, null]], "pyhazards.datasets.base module": [[2, "module-pyhazards.datasets.base"]], "pyhazards.datasets.hazards package": [[2, "module-pyhazards.datasets.hazards"]], "pyhazards.datasets.registry module": [[2, "module-pyhazards.datasets.registry"]], "pyhazards.datasets.transforms package": [[2, "module-pyhazards.datasets.transforms"]], "pyhazards.engine package": [[3, null]], "pyhazards.engine.distributed module": [[3, "module-pyhazards.engine.distributed"]], "pyhazards.engine.inference module": [[3, "module-pyhazards.engine.inference"]], "pyhazards.engine.trainer module": [[3, "module-pyhazards.engine.trainer"]], "pyhazards.metrics package": [[4, null]], "pyhazards.models package": [[5, null]], "pyhazards.models.backbones module": [[5, "module-pyhazards.models.backbones"]], "pyhazards.models.builder module": [[5, "module-pyhazards.models.builder"]], "pyhazards.models.heads module": [[5, "module-pyhazards.models.heads"]], "pyhazards.models.registry module": [[5, "module-pyhazards.models.registry"]], "pyhazards.utils package": [[6, null]], "pyhazards.utils.common module": [[6, "module-pyhazards.utils.common"]], "pyhazards.utils.hardware module": [[6, "module-pyhazards.utils.hardware"]]}, "docnames": ["api/modules", "api/pyhazards", "api/pyhazards.datasets", "api/pyhazards.engine", "api/pyhazards.metrics", "api/pyhazards.models", "api/pyhazards.utils", "cite", "datasets/era5", "datasets/firms", "datasets/goesr", "datasets/landfire", "datasets/merra2", "datasets/mtbs", "datasets/noaa_flood", "datasets/wfigs", "implementation", "index", "installation", "pyhazards_datasets", "pyhazards_engine", "pyhazards_metrics", "pyhazards_models", "pyhazards_utils", "quick_start", "references", "team"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["api/modules.rst", "api/pyhazards.rst", "api/pyhazards.datasets.rst", "api/pyhazards.engine.rst", "api/pyhazards.metrics.rst", "api/pyhazards.models.rst", "api/pyhazards.utils.rst", "cite.rst", "datasets/era5.rst", "datasets/firms.rst", "datasets/goesr.rst", "datasets/landfire.rst", "datasets/merra2.rst", "datasets/mtbs.rst", "datasets/noaa_flood.rst", "datasets/wfigs.rst", "implementation.rst", "index.rst", "installation.rst", "pyhazards_datasets.rst", "pyhazards_engine.rst", "pyhazards_metrics.rst", "pyhazards_models.rst", "pyhazards_utils.rst", "quick_start.rst", "references.rst", "team.rst"], "indexentries": {}, "objects": {"": [[1, 0, 0, "-", "pyhazards"]], "pyhazards": [[1, 1, 1, "", "CNNPatchEncoder"], [1, 1, 1, "", "ClassificationHead"], [1, 1, 1, "", "ClassificationMetrics"], [1, 1, 1, "", "DataBundle"], [1, 1, 1, "", "DataSplit"], [1, 1, 1, "", "Dataset"], [1, 1, 1, "", "FeatureSpec"], [1, 1, 1, "", "LabelSpec"], [1, 1, 1, "", "MLPBackbone"], [1, 1, 1, "", "MetricBase"], [1, 1, 1, "", "RegressionHead"], [1, 1, 1, "", "RegressionMetrics"], [1, 1, 1, "", "SegmentationHead"], [1, 1, 1, "", "SegmentationMetrics"], [1, 1, 1, "", "TemporalEncoder"], [1, 1, 1, "", "Trainer"], [1, 4, 1, "", "available_datasets"], [1, 4, 1, "", "available_models"], [1, 4, 1, "", "build_model"], [2, 0, 0, "-", "datasets"], [3, 0, 0, "-", "engine"], [1, 4, 1, "", "load_dataset"], [4, 0, 0, "-", "metrics"], [5, 0, 0, "-", "models"], [1, 4, 1, "", "register_dataset"], [1, 4, 1, "", "register_model"], [6, 0, 0, "-", "utils"]], "pyhazards.CNNPatchEncoder": [[1, 2, 1, "", "forward"]], "pyhazards.ClassificationHead": [[1, 2, 1, "", "forward"]], "pyhazards.ClassificationMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.DataBundle": [[1, 3, 1, "", "feature_spec"], [1, 2, 1, "", "get_split"], [1, 3, 1, "", "label_spec"], [1, 3, 1, "", "metadata"], [1, 3, 1, "", "splits"]], "pyhazards.DataSplit": [[1, 3, 1, "", "inputs"], [1, 3, 1, "", "metadata"], [1, 3, 1, "", "targets"]], "pyhazards.Dataset": [[1, 2, 1, "", "_load"], [1, 2, 1, "", "load"], [1, 3, 1, "", "name"]], "pyhazards.FeatureSpec": [[1, 3, 1, "", "channels"], [1, 3, 1, "", "description"], [1, 3, 1, "", "extra"], [1, 3, 1, "", "input_dim"]], "pyhazards.LabelSpec": [[1, 3, 1, "", "description"], [1, 3, 1, "", "extra"], [1, 3, 1, "", "num_targets"], [1, 3, 1, "", "task_type"]], "pyhazards.MLPBackbone": [[1, 2, 1, "", "forward"]], "pyhazards.MetricBase": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.RegressionHead": [[1, 2, 1, "", "forward"]], "pyhazards.RegressionMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.SegmentationHead": [[1, 2, 1, "", "forward"]], "pyhazards.SegmentationMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.TemporalEncoder": [[1, 2, 1, "", "forward"]], "pyhazards.Trainer": [[1, 2, 1, "", "_make_loader"], [1, 2, 1, "", "_to_device"], [1, 2, 1, "", "evaluate"], [1, 2, 1, "", "fit"], [1, 2, 1, "", "predict"], [1, 2, 1, "", "save_checkpoint"]], "pyhazards.datasets": [[2, 1, 1, "", "DataBundle"], [2, 1, 1, "", "DataSplit"], [2, 1, 1, "", "Dataset"], [2, 1, 1, "", "FeatureSpec"], [2, 1, 1, "", "GraphTemporalDataset"], [2, 1, 1, "", "LabelSpec"], [2, 4, 1, "", "available_datasets"], [2, 0, 0, "-", "base"], [2, 4, 1, "", "graph_collate"], [2, 0, 0, "-", "hazards"], [2, 4, 1, "", "load_dataset"], [2, 4, 1, "", "register_dataset"], [2, 0, 0, "-", "registry"], [2, 0, 0, "-", "transforms"]], "pyhazards.datasets.DataBundle": [[2, 3, 1, "", "feature_spec"], [2, 2, 1, "", "get_split"], [2, 3, 1, "", "label_spec"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "splits"]], "pyhazards.datasets.DataSplit": [[2, 3, 1, "", "inputs"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "targets"]], "pyhazards.datasets.Dataset": [[2, 2, 1, "", "_load"], [2, 2, 1, "", "load"], [2, 3, 1, "", "name"]], "pyhazards.datasets.FeatureSpec": [[2, 3, 1, "", "channels"], [2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "input_dim"]], "pyhazards.datasets.LabelSpec": [[2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "num_targets"], [2, 3, 1, "", "task_type"]], "pyhazards.datasets.base": [[2, 1, 1, "", "DataBundle"], [2, 1, 1, "", "DataSplit"], [2, 1, 1, "", "Dataset"], [2, 1, 1, "", "FeatureSpec"], [2, 1, 1, "", "LabelSpec"], [2, 1, 1, "", "Transform"]], "pyhazards.datasets.base.DataBundle": [[2, 3, 1, "", "feature_spec"], [2, 2, 1, "", "get_split"], [2, 3, 1, "", "label_spec"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "splits"]], "pyhazards.datasets.base.DataSplit": [[2, 3, 1, "", "inputs"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "targets"]], "pyhazards.datasets.base.Dataset": [[2, 2, 1, "", "_load"], [2, 2, 1, "", "load"], [2, 3, 1, "", "name"]], "pyhazards.datasets.base.FeatureSpec": [[2, 3, 1, "", "channels"], [2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "input_dim"]], "pyhazards.datasets.base.LabelSpec": [[2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "num_targets"], [2, 3, 1, "", "task_type"]], "pyhazards.datasets.base.Transform": [[2, 3, 1, "", "_abc_impl"], [2, 3, 1, "", "_is_protocol"]], "pyhazards.datasets.registry": [[2, 4, 1, "", "available_datasets"], [2, 4, 1, "", "load_dataset"], [2, 4, 1, "", "register_dataset"]], "pyhazards.engine": [[3, 1, 1, "", "DistributedConfig"], [3, 1, 1, "", "SlidingWindowInference"], [3, 1, 1, "", "Trainer"], [3, 0, 0, "-", "distributed"], [3, 0, 0, "-", "inference"], [3, 4, 1, "", "select_strategy"], [3, 0, 0, "-", "trainer"]], "pyhazards.engine.DistributedConfig": [[3, 3, 1, "", "devices"], [3, 3, 1, "", "strategy"]], "pyhazards.engine.Trainer": [[3, 2, 1, "", "_make_loader"], [3, 2, 1, "", "_to_device"], [3, 2, 1, "", "evaluate"], [3, 2, 1, "", "fit"], [3, 2, 1, "", "predict"], [3, 2, 1, "", "save_checkpoint"]], "pyhazards.engine.distributed": [[3, 1, 1, "", "DistributedConfig"], [3, 4, 1, "", "select_strategy"]], "pyhazards.engine.distributed.DistributedConfig": [[3, 3, 1, "", "devices"], [3, 3, 1, "", "strategy"]], "pyhazards.engine.inference": [[3, 1, 1, "", "SlidingWindowInference"]], "pyhazards.engine.trainer": [[3, 1, 1, "", "Trainer"]], "pyhazards.engine.trainer.Trainer": [[3, 2, 1, "", "_make_loader"], [3, 2, 1, "", "_to_device"], [3, 2, 1, "", "evaluate"], [3, 2, 1, "", "fit"], [3, 2, 1, "", "predict"], [3, 2, 1, "", "save_checkpoint"]], "pyhazards.metrics": [[4, 1, 1, "", "ClassificationMetrics"], [4, 1, 1, "", "MetricBase"], [4, 1, 1, "", "RegressionMetrics"], [4, 1, 1, "", "SegmentationMetrics"]], "pyhazards.metrics.ClassificationMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.MetricBase": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.RegressionMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.SegmentationMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.models": [[5, 1, 1, "", "CNNPatchEncoder"], [5, 1, 1, "", "ClassificationHead"], [5, 1, 1, "", "MLPBackbone"], [5, 1, 1, "", "RegressionHead"], [5, 1, 1, "", "SegmentationHead"], [5, 1, 1, "", "TemporalEncoder"], [5, 1, 1, "", "TverskyLoss"], [5, 1, 1, "", "WildfireASPP"], [5, 1, 1, "", "WildfireCNNASPP"], [5, 1, 1, "", "WildfireMamba"], [5, 4, 1, "", "available_models"], [5, 0, 0, "-", "backbones"], [5, 4, 1, "", "build_model"], [5, 0, 0, "-", "builder"], [5, 4, 1, "", "cnn_aspp_builder"], [5, 0, 0, "-", "heads"], [5, 4, 1, "", "register_model"], [5, 0, 0, "-", "registry"], [5, 4, 1, "", "wildfire_aspp_builder"], [5, 4, 1, "", "wildfire_mamba_builder"]], "pyhazards.models.CNNPatchEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.ClassificationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.MLPBackbone": [[5, 2, 1, "", "forward"]], "pyhazards.models.RegressionHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.SegmentationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.TemporalEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.TverskyLoss": [[5, 2, 1, "", "forward"]], "pyhazards.models.WildfireCNNASPP": [[5, 2, 1, "", "forward"]], "pyhazards.models.WildfireMamba": [[5, 2, 1, "", "_get_adjacency"], [5, 2, 1, "", "_temporal_delta"], [5, 2, 1, "", "forward"], [5, 2, 1, "", "set_adjacency"]], "pyhazards.models.backbones": [[5, 1, 1, "", "CNNPatchEncoder"], [5, 1, 1, "", "MLPBackbone"], [5, 1, 1, "", "TemporalEncoder"]], "pyhazards.models.backbones.CNNPatchEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.backbones.MLPBackbone": [[5, 2, 1, "", "forward"]], "pyhazards.models.backbones.TemporalEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.builder": [[5, 4, 1, "", "build_model"], [5, 4, 1, "", "default_builder"]], "pyhazards.models.heads": [[5, 1, 1, "", "ClassificationHead"], [5, 1, 1, "", "RegressionHead"], [5, 1, 1, "", "SegmentationHead"]], "pyhazards.models.heads.ClassificationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.heads.RegressionHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.heads.SegmentationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.registry": [[5, 4, 1, "", "available_models"], [5, 4, 1, "", "get_model_config"], [5, 4, 1, "", "register_model"]], "pyhazards.utils": [[6, 4, 1, "", "auto_device"], [6, 0, 0, "-", "common"], [6, 4, 1, "", "get_device"], [6, 4, 1, "", "get_logger"], [6, 0, 0, "-", "hardware"], [6, 4, 1, "", "num_devices"], [6, 4, 1, "", "seed_all"], [6, 4, 1, "", "set_device"]], "pyhazards.utils.common": [[6, 4, 1, "", "get_logger"], [6, 4, 1, "", "seed_all"]], "pyhazards.utils.hardware": [[6, 4, 1, "", "auto_device"], [6, 4, 1, "", "get_device"], [6, 4, 1, "", "num_devices"], [6, 4, 1, "", "set_device"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function"}, "terms": {"": [10, 11, 13, 15, 19, 26], "0": [1, 3, 5, 8, 10, 12, 16, 17, 18, 19, 22, 24], "00230": 10, "008": 9, "01": [], "0301003": 13, "06": 5, "0758": 12, "08": 9, "1": [1, 3, 5, 9, 10, 12, 13, 17, 22], "10": [8, 9, 10, 11, 12, 13, 16, 20], "1000": [16, 19], "1002": 8, "1016": 9, "1071": 11, "11": 9, "1175": [10, 12], "12": [5, 18, 22], "120": 14, "128": [1, 5, 16, 22], "14": 12, "143": 9, "146": 8, "15": [10, 15], "16": [12, 16, 17, 19, 20, 22, 24], "17": [], "18": 11, "1940": 8, "1950": 14, "1980": 12, "1984": 13, "1999": 8, "1b": 10, "1e": [5, 16, 17, 20, 22, 24], "2": [1, 5, 8, 9, 10, 16, 17, 18, 19, 20, 22, 24], "20": 9, "2007": [13, 19], "2009": 11, "2013": 9, "2014": [9, 19], "2017": [10, 12, 19], "2020": [8, 19], "2024": [], "2025": 17, "20260101": 19, "2049": 8, "21": [9, 13], "235": 11, "24": 17, "249": 11, "25": 8, "256": [1, 5, 22], "3": [1, 5, 8, 9, 11, 12, 13, 16, 17, 18, 20, 22, 24], "30": [9, 10, 11, 12, 13], "30m": 9, "32": [1, 3, 5, 17, 22], "350": [17, 24], "375": 9, "3803": 8, "3h": 9, "4": [9, 10, 17], "42": 6, "425": [17, 24], "48": 22, "4996": 13, "5": [5, 8, 9, 10, 12, 15, 17, 22, 24], "500": [17, 24], "5419": 12, "5454": 12, "6": [5, 9, 10, 17, 18, 22], "60": 9, "625": 12, "64": [1, 3, 5, 22], "681": 10, "698": 10, "7": 9, "730": 8, "75": 14, "8": [9, 17, 18, 22], "800": [16, 19], "85": 9, "9": 9, "90": 14, "900": [16, 19], "96": 9, "98": 10, "A": [10, 11, 13, 17, 22], "For": [10, 12, 14, 22, 24], "If": [7, 8, 17], "It": [8, 12, 22], "Near": [8, 9, 12, 19], "Or": 24, "The": [8, 9, 10, 12, 19, 20, 22, 26], "To": [15, 16, 24], "_abc": [1, 2, 4], "_abc_data": [1, 2, 4], "_abc_impl": [0, 1, 2, 4], "_get_adjac": [1, 5], "_is_protocol": [1, 2], "_load": [0, 1, 2, 16, 17, 19, 24], "_make_load": [0, 1, 3], "_temporal_delta": [1, 5], "_to_devic": [0, 1, 3], "abc": [1, 4], "abi": 10, "abov": 10, "abstract": [1, 3, 4, 21], "accept": 16, "accuraci": 21, "across": [11, 13, 14, 15, 19], "activ": [9, 15, 19], "ad": 10, "adam": [16, 17, 20, 22, 24], "add": 16, "addit": 11, "adj": 5, "adjac": [2, 5, 17, 22], "administr": 14, "adopt": 8, "advanc": 10, "aerosol": 10, "after": [10, 12, 14, 16], "agenc": 15, "aggreg": [13, 15, 16, 21], "ai": 17, "aim": 11, "al": [8, 10, 12, 19], "alaska": [11, 13], "algorithm": 9, "allow": 19, "alpha": 5, "also": 12, "america": 10, "american": 10, "amount": 8, "amp": [16, 20], "an": [2, 8, 9, 15, 22], "analysi": [8, 9, 10, 12, 13, 14, 15, 19], "analyz": 17, "ani": [1, 2, 3, 5, 22], "annual": 11, "anomali": [9, 10], "api": [1, 3, 17, 19, 24], "appear": [10, 12, 15], "append": [14, 15], "appli": [5, 15, 22], "applic": [8, 12], "approxim": 15, "aqua": 9, "ar": [8, 9, 10, 11, 13, 14, 15, 20, 21, 22], "arcgi": 15, "architectur": [16, 17, 22], "archiv": [9, 10, 13, 14], "arg": [2, 5], "argument": 16, "aspp": 5, "aspp_channel": 5, "assess": [8, 9, 11, 13, 14, 17, 19], "assimil": [8, 12], "associ": [9, 15], "assur": 26, "atmospher": [8, 10, 12, 19], "attribut": [8, 15], "aug": 13, "author": 17, "authorit": [15, 19], "auto": [1, 3, 20], "auto_devic": [1, 6, 20], "automat": [6, 24], "avail": [9, 10, 12, 13, 14, 20, 24], "available_dataset": [0, 1, 2], "available_model": [0, 1, 5, 22], "awar": [9, 10, 17], "b": [5, 8, 13], "back": 22, "backbon": [0, 1, 12, 16, 17, 22], "background": 11, "backward": 5, "bam": 10, "band": 10, "base": [0, 1, 3, 4, 5, 9, 11, 13, 14, 15, 18, 19], "base_channel": 5, "baselin": [8, 10, 15], "basic": 17, "batch": [2, 5, 22], "batch_siz": [1, 3, 5, 17, 22], "bcewithlogitsloss": [17, 22], "becaus": 22, "begin": 14, "behavior": [8, 11, 19], "bell": 8, "below": [10, 19], "benchmark": [8, 12, 19], "berrisford": 8, "best": 10, "beta": 5, "big": [], "bin": 14, "binari": [5, 17, 22], "block": 22, "boundari": 8, "box": 17, "branch": 22, "brewer": 13, "bright": 10, "broad": 12, "build": [1, 5, 17], "build_model": [0, 1, 5, 16, 17, 20, 22, 24], "builder": [0, 1, 2, 16, 22], "built": [17, 19, 21], "bulk": [9, 11, 14], "bulletin": 10, "bundl": [1, 2, 13, 17, 22], "burn": [13, 19], "c": 5, "c00648": 14, "c3": 8, "ca": 9, "cache_dir": [1, 2], "cadenc": [8, 9, 10, 11, 12, 13, 14, 15], "calcul": 17, "call": 21, "callabl": 2, "can": [9, 10, 12, 16, 18, 22], "canada": 9, "canopi": 11, "carri": 10, "categor": 13, "caus": 15, "cd": [8, 19], "center": [14, 15], "centr": 8, "chain": 16, "chang": [8, 13, 15, 22], "channel": [0, 1, 2, 10], "character": 11, "checkpoint": 20, "cheng": [17, 26], "choos": 6, "class": [1, 2, 3, 4, 5, 10, 13, 16, 17, 20, 24], "classif": [1, 5, 13, 16, 17, 19, 20, 22], "classificationhead": [0, 1, 5], "classificationmetr": [0, 1, 4, 16, 17, 20, 21, 24], "cli": 22, "climat": [8, 12], "close": 8, "closer": 10, "cloud": 10, "cnn": [1, 5, 16, 17, 22], "cnn_aspp_build": [1, 5], "cnnpatchencod": [0, 1, 5], "code": 26, "collat": [2, 17], "collate_fn": [1, 3, 17], "collect": 16, "com": [15, 17], "combin": [8, 9], "common": [0, 1, 12, 21, 22, 23], "commonli": [8, 11, 12, 13, 15, 19], "commun": 26, "compat": 5, "compil": 14, "complex": [1, 3, 22], "compos": [22, 26], "comprehens": [8, 17], "comput": [0, 1, 2, 4, 16, 21], "concret": 2, "conda": 18, "confid": 9, "config": [20, 22], "consid": 7, "consist": [1, 5, 8, 11, 12], "construct": [1, 2, 19, 22], "contain": [1, 2, 15, 19], "content": [0, 19], "contentrefer": 9, "context": 19, "contextu": 10, "continu": [10, 12, 13, 15, 19], "contribut": 26, "conu": [10, 11, 13], "conv_kernel": 5, "conveni": 22, "convent": 12, "coord": 14, "coordin": [8, 10, 11, 12, 13, 14], "copernicu": [8, 19], "core": [10, 12], "correl": [17, 22], "correspond": 9, "count": [5, 22], "counti": [2, 5, 14, 17, 22], "coupl": 22, "covari": [8, 11, 12, 19], "cover": [11, 21], "coverag": [8, 9, 10, 11, 12, 13, 14, 15], "cpu": [16, 24], "cr": [8, 9, 10, 11, 12, 13, 15], "creat": [16, 22], "critic": 10, "crop": 14, "crossentropyloss": [16, 17, 20, 24], "csiszar": 9, "csv": [9, 14], "cu126": 18, "cube": 22, "cuda": [18, 20, 24], "current": [2, 10, 11, 15], "custom": [1, 3, 16, 17, 24], "d": [10, 12], "d2m": 22, "dai": [2, 5, 8, 9, 14, 17, 22], "daili": [8, 12, 19], "damag": 14, "danger": 8, "data": [1, 2, 3, 17, 19, 22, 24], "data_bundl": [16, 20], "databas": [14, 19], "databundl": [0, 1, 2, 16, 17, 19, 22, 24], "dataload": [1, 3], "dataset": [0, 1, 9, 11, 13, 14, 15, 17, 22, 24], "datasplit": [0, 1, 2, 16, 17, 19, 22, 24], "date": [8, 15], "db": 14, "ddp": [3, 16, 17, 20], "dedic": 26, "def": [16, 17, 19, 22, 24], "default": [1, 5, 10, 16, 20, 22], "default_build": [1, 5, 22], "delai": 10, "deleg": [1, 5], "demonstr": 19, "densiti": 11, "depend": [9, 10, 11, 13, 15], "deploi": 17, "depth": [1, 5, 22], "deriv": [9, 10, 11, 12, 13, 14, 19], "describ": [1, 2, 19], "descript": [0, 1, 2, 9, 14, 16, 17, 19, 24], "descriptor": 11, "design": [17, 21], "detail": 24, "detect": [9, 10, 15, 19, 24], "determinist": 6, "develop": 8, "devic": [1, 3, 6, 17, 23, 24], "device_str": 6, "dewpoint": 8, "diagnost": [8, 10, 12], "dice": 21, "dict": [1, 2, 3, 4, 5, 22], "differenti": 22, "dilat": 5, "direct": 26, "directli": 21, "disc": 12, "discov": 19, "discover": 22, "discoveri": 15, "disk": 10, "displai": 15, "dissemin": 10, "distanc": [17, 22], "distribut": [0, 1, 8, 9, 10, 11, 13, 15, 16], "distributedconfig": [1, 3], "disturb": 11, "dnbr": 13, "document": [12, 14, 15, 24, 26], "doi": [8, 9, 10, 11, 12, 13], "dong": 26, "download": [9, 14, 15, 18], "downstream": [1, 2], "dp": 3, "driven": [16, 22], "driver": [12, 14, 19], "dropout": 5, "drought": 12, "dtype": [1, 2], "due": 14, "e": [9, 11, 12, 13, 15, 16, 19, 22], "each": [2, 9, 12, 15, 19], "earli": [9, 10, 19], "earthdata": [9, 12], "earthquak": 2, "easi": [1, 2, 17], "ecmwf": [8, 19], "ecolog": [11, 13], "ecologi": 13, "ecosystem": 19, "edu": 26, "eidenshink": [13, 19], "emerg": 14, "enabl": [5, 20], "encod": [1, 5, 16, 17, 22], "end": [11, 12, 14, 21], "endpoint": 9, "energi": 12, "engag": 26, "engin": [0, 1, 16, 17, 22, 24], "entri": 14, "environ": [9, 18, 24], "environment": [8, 10, 12, 14, 17], "era": 12, "era5": [5, 17, 19, 22], "era5t": 8, "estim": [8, 12], "et": [8, 10, 12, 19], "etc": 2, "european": 8, "evalu": [0, 1, 3, 13, 16, 17, 20, 22, 24], "event": [9, 13, 15, 19], "everi": [9, 10, 15], "evolut": 10, "evolv": 15, "exampl": [16, 17, 18], "expect": 8, "explicitli": 24, "explor": 19, "export": [22, 24], "extend": [1, 3, 21], "extens": [17, 22], "extent": [13, 19], "extern": 5, "extra": [0, 1, 2, 17, 22], "extract": 14, "extractor": 22, "extrem": [8, 12], "ey": [17, 22], "factori": [1, 2], "fake": [17, 22], "fall": [15, 22], "fals": [1, 3, 5, 6, 17, 22], "familiar": [1, 3], "faster": 9, "fatal": 14, "featur": [1, 2, 5, 15, 16, 17, 19, 22, 24], "feature_spec": [0, 1, 2, 16, 17, 19, 22, 24], "featurespec": [0, 1, 2, 16, 17, 19, 22, 24], "feb": 13, "field": [8, 10, 11, 12, 15], "fifth": 8, "file": [9, 10, 13, 19], "final": 8, "find": 7, "fire": [9, 10, 11, 13, 15, 17, 19, 22], "fireecologi": 13, "firm": [15, 19], "first": [16, 17, 18, 24], "fit": [0, 1, 3, 16, 17, 20, 22, 24], "fix": 10, "flag": [6, 9], "float": [1, 3, 4, 5, 17, 22], "flood": [2, 8, 19], "florida": 26, "flux": [8, 12], "follow": [7, 8], "forc": [8, 12], "forecast": 8, "forest": [11, 13], "format": [8, 9, 10, 11, 12, 13, 14, 15], "forward": [0, 1, 5], "framework": 17, "frequenc": [8, 9, 10, 11, 12, 13, 14, 15, 19], "from": [9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 24], "from_logit": 5, "frp": 9, "fsu": 26, "fuel": [9, 11, 13, 15, 19], "full": [10, 15, 21], "function": [2, 16, 17, 22, 24], "g": [9, 11, 12, 13, 15, 16, 19, 22], "gcn": 22, "gcn_hidden": 5, "ge": 12, "gelaro": [12, 19], "gener": [5, 8, 10], "geo": 12, "geodatabas": 13, "geograph": [9, 15], "geojson": [9, 15], "geolog": 13, "geometri": 15, "geopotenti": [8, 12], "geospati": [11, 15], "geostationari": [10, 19], "geotiff": [11, 13], "get": [16, 22, 24], "get_devic": [1, 6], "get_logg": [1, 6], "get_model_config": [1, 5], "get_split": [0, 1, 2], "gi": 11, "giglio": 9, "github": 17, "given": 22, "global": [8, 9, 12, 19], "gmao": [12, 19], "goe": [15, 19], "goesr": 19, "gov": 14, "gpu": [16, 17, 20], "granul": 10, "graph": 17, "graph_col": [1, 2, 17, 22], "graphtemporaldataset": [1, 2, 17, 22], "grib": 8, "grid": [3, 8, 9, 10, 11, 12, 14, 19, 20], "griffith": 10, "ground": [10, 15, 19], "grow": 13, "growth": 10, "gru": [1, 5], "guid": 24, "gunshor": 10, "h": [5, 8], "handl": [20, 22], "hardwar": [0, 1, 20, 23], "have": 10, "hawaii": [11, 13], "hazard": [0, 1, 8, 9, 10, 11, 12, 14, 16, 17, 19, 24], "head": [0, 1, 16, 17, 22], "heat": 12, "height": [11, 12], "help": 24, "helper": [17, 20, 22, 23, 24], "hemispher": 10, "hersbach": [8, 19], "hidden": [16, 22], "hidden_dim": [1, 5, 16, 22], "high": [8, 10, 19], "highlight": 22, "histor": [8, 13, 14, 15], "hold": 19, "hotspot": [9, 15], "hour": 9, "hourli": [8, 9, 12, 19], "how": [16, 19], "howard": 13, "hr": 10, "http": [8, 9, 10, 11, 12, 13, 14, 15, 17, 18], "humid": 12, "hurrican": [2, 12], "i": [2, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 26], "id": 14, "ident": 22, "identifi": 15, "ignit": [10, 11, 13, 15, 19], "imag": 10, "imageri": [10, 13, 19], "impact": [13, 14, 19], "implement": [2, 3, 17, 19, 24], "import": [16, 17, 19, 20, 21, 22, 24], "in_channel": [1, 5], "in_dim": [1, 5, 16, 17, 20, 22, 24], "incid": [15, 19], "includ": [8, 9, 10, 11, 12, 13, 14, 15], "index": [2, 9, 16, 17, 18], "indic": [9, 10], "individu": 13, "infer": [0, 1, 20], "inform": [9, 14, 15], "infrar": 10, "ingest": 10, "initi": [8, 9], "injuri": 14, "input": [0, 1, 2, 3, 5, 8, 12, 19, 22], "input_dim": [0, 1, 2, 5, 16, 17, 19, 22, 24], "ins": 22, "int": [1, 2, 3, 6, 16, 22], "integr": [9, 10, 11, 13, 14, 15], "interag": [13, 15, 19], "interfac": [1, 5, 17, 19, 21, 24], "intern": [11, 22], "interpret": 10, "inventori": 13, "iou": 21, "irwin": 15, "iso": 14, "iter": [1, 3], "j": [9, 10, 12, 13], "jcli": 12, "journal": [8, 11, 12], "k": 13, "keep": [1, 2, 5, 15, 22], "km": [9, 10], "kml": 9, "kwarg": [1, 2, 5, 16, 22], "l": 9, "label": [1, 2, 9, 13, 14, 15, 17, 19, 22], "label_spec": [0, 1, 2, 16, 17, 19, 22, 24], "labelspec": [0, 1, 2, 16, 17, 19, 22, 24], "labrai": 17, "lag": 14, "lanc": 9, "land": [8, 9, 12, 14], "landfir": 19, "landsat": [13, 19], "landscap": [11, 19], "landslid": 2, "larg": [3, 20], "last": 15, "lat": [9, 10, 12], "latenc": [8, 9, 10, 11, 12, 14], "later": [8, 9], "latest": [], "latitud": [8, 9, 12], "layer": [8, 11, 13, 15, 16, 19, 22], "learn": [8, 11, 12, 14, 17], "level": [8, 9, 10, 12, 14, 15, 19], "lf": 11, "librari": 17, "lightweight": [1, 3, 5, 19, 22], "like": [17, 22], "limit": 12, "line": 16, "linear": [16, 22], "link": 15, "list": [1, 3], "liter": 3, "load": [0, 1, 2, 16, 17, 24], "load_dataset": [0, 1, 2, 19], "loader": 2, "local": 14, "locat": [9, 14, 15, 19], "log": [17, 23], "logger": 6, "logic": 3, "login": 9, "logit": [5, 17, 22], "lon": [9, 10, 12], "long": [12, 13, 19], "longer": [10, 14], "longitud": [8, 9, 12], "look": 10, "loop": [1, 3, 22], "loss": 5, "loss_fn": [1, 3, 16, 17, 20, 22, 24], "lr": [16, 17, 20, 22, 24], "m": [8, 9, 10, 11, 12, 13, 19], "machin": [8, 11, 12, 17], "mae": 21, "mai": [8, 10, 11, 13, 14, 15], "maintain": 15, "mainten": 26, "make": [1, 2, 9], "mamba": 5, "mamba_lay": 5, "manag": [9, 11, 14, 15, 17, 23], "map": [9, 11, 13], "mask": [1, 5], "match": 18, "matrix": [17, 22], "max_epoch": [1, 3, 16, 17, 20, 22, 24], "mccarti": 12, "medium": 8, "merra": 19, "merra2": 19, "mesoscal": 10, "metadata": [0, 1, 2, 5, 9, 11, 13, 14, 15, 19], "meteorolog": [8, 9, 10, 11, 12, 14, 15, 19], "meteorologi": [8, 12, 13, 19], "metric": [0, 1, 3, 13, 17, 20, 24], "metricbas": [0, 1, 4, 16, 21], "min": [9, 10, 15], "minim": [1, 3, 22], "minut": [9, 10, 15], "mirror": 10, "mix": [17, 22], "mixed_precis": [1, 3, 16, 17, 20, 22, 24], "mixtur": 8, "mlp": [1, 5, 16, 17, 20, 22, 24], "mlpbackbon": [0, 1, 5], "mode": 10, "model": [0, 1, 2, 3, 8, 9, 11, 12, 13, 14, 15, 17, 19, 20, 24], "modern": [8, 12], "modi": [9, 19], "modifi": 15, "modul": [0, 16, 17, 23], "modular": [16, 17], "moistur": 12, "monitor": [9, 10, 13, 19], "month": [8, 9, 12, 14], "monthli": [12, 14], "more": [22, 24], "mosaic": 13, "most": [8, 14], "motion": 10, "mtb": 19, "multi": [1, 5, 12, 16, 17], "multipl": [9, 10, 11, 20], "multispectr": [10, 19], "my_custom_build": 22, "my_hazard": [16, 19], "my_mlp": [16, 22], "my_model_build": 16, "myhazard": 16, "myhazarddataset": 19, "n": 5, "name": [0, 1, 2, 5, 6, 13, 15, 16, 17, 19, 20, 22, 24], "namespac": 2, "narr": 14, "nasa": [9, 12, 19], "nation": [11, 13, 14, 15], "nationwid": [11, 19], "nativ": 8, "natur": [8, 12, 17], "ncdc": 14, "ncei": 14, "need": [3, 21, 22], "neighbor": 22, "netcdf": [8, 10], "netcdf4": 12, "new": [9, 10, 12, 14], "next": [5, 17, 22], "nifc": 15, "nn": [16, 17, 20, 22, 24], "no_grad": [17, 22], "noaa": [9, 10, 19], "noaa_flood": 19, "none": [1, 2, 3, 4, 5, 6, 17, 22], "normal": [1, 2, 16], "note": 18, "nov": 13, "npp": 9, "nrt": 9, "num_class": [1, 4, 5], "num_counti": [2, 5, 17, 22], "num_devic": [1, 6], "num_featur": [2, 5, 17, 22], "num_lay": [1, 5], "num_target": [0, 1, 2, 16, 17, 19, 22, 24], "num_work": [1, 3], "numer": 12, "nw": 14, "oaicit": 9, "obj": [1, 3], "object": [1, 2, 3, 4, 19], "observ": [8, 9, 10, 11, 12], "occasion": 14, "occurr": [9, 14, 15, 19], "ocean": [], "off": 15, "offic": [12, 14], "offici": 15, "often": 19, "oliva": 9, "one": 17, "ongo": 15, "onlin": 14, "onward": 13, "open": [10, 15], "opendata": 15, "oper": [9, 10, 12, 15, 19], "optim": [1, 3, 16, 17, 20, 22, 24], "option": [1, 2, 5, 8, 14, 15, 16, 17, 20, 22], "orbit": 9, "org": [8, 9, 10, 11, 12, 13, 18], "other": 23, "otherwis": 20, "our": 26, "out": 17, "out_dim": [1, 5, 16, 17, 20, 22, 24], "outdir": [], "output": [1, 5, 22], "over": [3, 10, 21, 22], "overpass": 9, "overrid": 5, "overview": 19, "own": [16, 22], "p": [8, 9, 10], "packag": [0, 11], "page": [14, 17], "pair": [14, 19], "paramet": [5, 16, 17, 20, 22, 24], "particularli": [10, 14], "partner": [13, 14], "pass": [16, 21, 22], "past_dai": [2, 5, 17, 22], "patch": [1, 5, 16, 21, 22], "path": [1, 3], "pattern": [9, 15], "payload": 10, "per": [5, 13, 22], "perimet": [13, 15, 19], "period": [8, 12, 13, 14], "physic": 12, "pip": 18, "pipelin": [8, 9, 10, 11, 12, 15, 17], "pixel": 21, "placehold": [2, 3, 20], "plain": 22, "plan": [11, 26], "pleas": [7, 17, 24], "plu": [1, 2, 9, 19, 22], "point": [9, 10, 14, 15], "polar": 9, "polygon": [13, 15], "popul": [2, 13], "portal": [9, 11, 13, 15], "post": [13, 19], "potenti": 9, "power": [9, 17], "pre": 13, "precipit": [8, 12], "precis": 17, "pred": [1, 4, 20], "predict": [0, 1, 3, 8, 9, 11, 12, 13, 14, 16, 17, 19, 20, 21, 22], "prefer": [3, 6], "preliminari": 8, "preprocess": [2, 16], "present": [8, 12, 13, 14], "pressur": [8, 12, 19], "previou": 11, "primari": [11, 14], "print": [17, 22, 24], "prob": [17, 22], "probabl": [5, 17, 22], "process": [10, 14], "produc": [8, 11, 12, 13], "product": [9, 10, 11, 12, 13, 15], "profil": 12, "program": [10, 11, 13, 19], "progress": 13, "project": [10, 11, 13], "properti": 14, "protocol": 2, "provid": [1, 2, 8, 9, 10, 11, 12, 14, 15, 16, 17, 19, 22], "prvi": 11, "public": [12, 14], "publicli": [9, 11, 13, 14, 15], "publish": [10, 12, 14], "puerto": 13, "pyhazard": [8, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 26], "pyhazards2025": 17, "pyhazards_devic": [6, 24], "python": [17, 18, 19, 24], "pytorch": [17, 18, 22], "qj": 8, "qualiti": [9, 26], "quarterli": [8, 13], "quasi": [], "quayl": 13, "queri": 14, "quick": 17, "quickli": [19, 24], "r": [12, 19], "radi": 9, "radianc": 10, "radiat": 8, "randint": [16, 17, 19, 22, 24], "randn": [16, 17, 19, 22, 24], "random": 22, "rang": 8, "rapid": [9, 10], "rare": 14, "raster": [1, 3, 5, 10, 11, 13, 17, 19, 20, 22], "rather": 15, "rdnbr": 13, "re": 22, "readi": [1, 2, 17], "real": [8, 9, 10, 13, 15, 19], "reanalysi": [8, 10, 12, 14, 19], "receiv": 22, "recent": [8, 13, 14], "recommend": 18, "reconcili": 15, "record": [8, 9, 10, 12, 13, 14, 15, 19], "reduc": 11, "refer": 24, "refin": 15, "refresh": [9, 10, 14, 15], "regim": [11, 13, 19], "region": 14, "regist": [2, 16, 17], "register_dataset": [0, 1, 2, 16, 19], "register_model": [0, 1, 5, 16, 22], "registr": [22, 24], "registri": [0, 1, 16, 17, 19, 22], "regress": [1, 2, 5, 16, 17, 22], "regressionhead": [0, 1, 5], "regressionmetr": [0, 1, 4, 21], "regular": [8, 12], "relat": [8, 10, 14, 19], "releas": [8, 11, 13], "relu": [16, 22], "remap": 10, "remot": [9, 11, 13], "remov": 15, "replac": [1, 3, 9, 17, 22], "report": [14, 15, 19], "repres": 15, "represent": [9, 10, 11, 13, 14, 15], "request": 8, "requir": 9, "research": [12, 17, 26], "reset": [0, 1, 4, 16, 21], "resolut": [8, 9, 10, 11, 12, 13, 14, 15], "resourc": [9, 11], "respect": 6, "respons": 26, "rest": 15, "result": [16, 17, 20, 24], "retain": 15, "retrospect": 12, "return": [1, 2, 3, 4, 5, 6, 16, 17, 19, 22, 24], "reusabl": [2, 16, 22], "review": 26, "rico": 13, "risk": [8, 11, 17, 19], "rmse": 21, "role": [8, 10, 11, 12, 13, 14, 15], "rollin": 11, "rout": [9, 10], "royal": 8, "rse": 9, "rule": 15, "run": 20, "sampl": [2, 17, 22], "satellit": [9, 10, 12, 15], "save": 20, "save_checkpoint": [0, 1, 3], "scalar": [1, 5], "scale": [11, 13], "scan": 10, "schmit": 10, "schroeder": [9, 19], "schwind": 13, "scienc": 9, "search": 17, "season": 13, "sector": 10, "see": [10, 19], "seed": [6, 17, 23], "seed_al": [1, 6], "segment": [1, 5, 16, 17, 22], "segmentationhead": [0, 1, 5], "segmentationmetr": [0, 1, 4, 21], "select": [20, 22], "select_strategi": [1, 3], "self": [16, 17, 19, 24], "sens": [9, 11, 13], "sensibl": 20, "sensor": 9, "sequenti": [16, 22], "seri": [1, 5, 10, 19, 22], "serv": [8, 19], "servic": [8, 9, 10, 11, 12, 13, 14, 15], "set": [5, 8, 12, 15, 24], "set_adjac": [1, 5], "set_devic": [1, 6, 24], "sever": [13, 14, 19], "shape": [1, 2, 5, 17, 22], "shapefil": [9, 13, 15], "ship": 22, "should": [1, 2], "show": 16, "shp": 9, "shuffl": [1, 3], "sigmoid": [5, 17, 22], "signal": [1, 5], "simpl": [1, 2, 5, 16, 17], "simplifi": 19, "simul": 11, "singl": [1, 2, 8, 19, 20], "situat": [9, 10], "size": 15, "skin": 12, "slide": [3, 20], "slidingwindowinfer": [1, 3], "slowli": 11, "smoke": [10, 19], "smooth": 5, "so": [16, 22], "societi": [8, 10], "softwar": 17, "soil": 12, "some": [9, 10, 11], "soon": 10, "sourc": [1, 2, 3, 4, 5, 6, 14, 15], "space": 22, "spatial": [5, 8, 9, 10, 11, 12, 13, 14, 15, 22], "spatio": 5, "spatiotempor": [8, 9, 12], "spec": [1, 2, 17, 19], "specif": [1, 2, 9, 22], "spectral": [10, 13], "split": [0, 1, 2, 3, 16, 17, 19, 20, 21, 22, 24], "spread": 11, "ssm": 22, "ssr": 22, "stack": [2, 22], "stale": 15, "stamp": 9, "standard": [5, 8, 9, 12, 13], "start": [14, 17], "state": [8, 11, 12, 13, 14, 15, 22, 26], "state_dim": 5, "static": [5, 11, 19], "statu": [15, 19], "stitch": 3, "store": [8, 22], "storm": [14, 19], "str": [1, 2, 3, 4, 5, 16, 22], "strateg": 26, "strategi": [1, 3, 11, 20], "stream": [9, 12], "strictli": 13, "structur": [8, 9, 10, 11, 12, 13, 14, 15, 19], "studi": [8, 12, 13, 14, 15, 19], "style": [2, 5, 12, 17, 22], "subclass": [1, 2, 16], "submodul": [0, 1], "subpackag": 0, "subscript": 10, "suit": 11, "suitabl": 13, "suomi": 9, "supervis": [9, 14], "support": [11, 13, 16, 17, 19, 20, 26], "surfac": [8, 9, 10, 12], "survei": 13, "su\u00e1rez": 12, "switch": 22, "system": [8, 9, 10, 11, 12, 13, 15], "t": 10, "t2m": 22, "tabular": [1, 5, 14, 17, 19, 22], "take": 15, "target": [0, 1, 2, 3, 4, 5, 9, 11, 13, 14, 15, 16, 19, 21, 22], "task": [1, 2, 5, 8, 16, 17, 20, 21, 22, 24], "task_typ": [0, 1, 2, 16, 17, 19, 22, 24], "technic": 26, "temperatur": [8, 10, 12], "tempor": [2, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19], "temporalencod": [0, 1, 5], "tensor": [1, 2, 3, 5, 9, 14, 17, 22], "term": [12, 13, 19], "terra": 9, "test": [1, 2, 3, 16, 17, 19, 20, 24], "than": 15, "thei": 10, "them": [2, 16, 22], "themat": 11, "thermal": [9, 10, 19], "thi": [1, 5, 8, 14, 16, 22, 24], "through": [9, 10, 13, 14, 15, 19], "time": [1, 5, 8, 9, 10, 12, 13, 14, 15, 19, 22], "timestamp": [14, 15], "titl": 17, "todai": 8, "toi": 22, "tool": 11, "topographi": 13, "torch": [16, 17, 18, 19, 20, 22, 24], "toyhazard": [17, 24], "tp": 22, "train": [1, 2, 3, 13, 17, 19, 20, 22, 24], "train_d": 17, "train_split": [1, 3], "trainer": [0, 1, 16, 17, 20, 21, 22, 24], "transform": [0, 1, 17], "transit": 11, "treat": 15, "trend": [8, 12, 13], "true": [1, 2, 3, 5, 16, 17, 20, 22, 24], "truth": [10, 15, 19], "tverski": 5, "tverskyloss": [1, 5], "two": [16, 22], "type": [1, 2, 3, 4, 5, 6, 9, 11, 14, 15, 22], "u": [9, 11, 13, 15, 19], "u10": 22, "under": 8, "unifi": [17, 19], "uniqu": 15, "unit": [11, 13, 14, 15], "univers": 26, "up": [14, 15], "updat": [0, 1, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "url": [17, 18], "us": [5, 7, 16, 17, 18, 19, 20, 22, 24], "usag": [17, 22], "usda": 13, "user": [16, 19], "usf": 19, "usg": 13, "util": [0, 1, 17, 19, 20, 24], "v": 15, "v10": 22, "val": [1, 2, 16, 17, 19, 22, 24], "val_d": 17, "val_split": [1, 3], "valid": [8, 13, 14, 15], "vari": [10, 11, 15], "variabl": [19, 24], "vast": 8, "vector": [9, 13, 15], "veget": [11, 19], "veri": 14, "version": [11, 12], "vertic": [8, 12], "via": [8, 11, 12, 14, 16, 17, 19, 20, 22], "view": 10, "viir": [9, 19], "visibl": 10, "w": [5, 9, 12], "we": 18, "weather": [8, 10, 12, 14], "web": [9, 14], "week": 12, "western": 10, "wf08088": 11, "wfig": 19, "wgs84": [9, 15], "wheel": 18, "when": [9, 14, 19, 20], "where": [10, 14], "which": [10, 14], "whl": 18, "who": 26, "wide": [8, 9, 10, 11, 12, 13, 14, 15, 19], "wildfir": [2, 5, 8, 9, 10, 11, 12, 13, 15, 19], "wildfire_aspp_build": [1, 5], "wildfire_mamba": [17, 22], "wildfire_mamba_build": [1, 5], "wildfireaspp": [1, 5], "wildfirecnnaspp": [1, 5], "wildfiremamba": [1, 5], "wildland": [11, 15], "wind": [8, 12], "window": [2, 3, 16, 17, 20], "window_fn": 3, "with_count_head": [5, 22], "within": [9, 14], "work": [1, 3, 7, 15, 22], "workflow": [10, 12, 13, 19], "wrap": [20, 22], "www": 14, "wxc": 12, "x": [1, 2, 5, 16, 17, 19, 22, 24], "xc25": 26, "xueqi": [17, 26], "y": [2, 16, 17, 19, 22, 24], "year": [11, 13, 15, 17], "yearli": 11, "yet": 14, "you": [7, 8, 17, 22, 24], "your": [16, 17, 22], "yushun": 26, "yyyi": 11, "z": 13, "zhu": 13, "zone": 14}, "titles": ["pyhazards", "pyhazards package", "pyhazards.datasets package", "pyhazards.engine package", "pyhazards.metrics package", "pyhazards.models package", "pyhazards.utils package", "How to Cite", "ERA5", "FIRMS", "GOES-R", "LANDFIRE", "MERRA-2", "MTBS", "NOAA Flood Events", "WFIGS", "Implementation Guide", "Wildfire Mamba (spatio-temporal toy)", "Installation", "Datasets", "Engine", "Metrics", "Models", "Utils", "Quick Start", "References", "Core Team"], "titleterms": {"2": 12, "At": [8, 9, 10, 11, 12, 13, 14, 15], "academ": 25, "access": [8, 9, 10, 11, 12, 13, 14, 15], "backbon": 5, "base": [2, 22], "basic": 24, "build": 22, "builder": 5, "built": 22, "case": [8, 9, 10, 11, 12, 13, 14, 15], "characterist": [8, 9, 10, 11, 12, 13, 14, 15], "cite": [7, 17], "class": [19, 21], "classif": 24, "common": 6, "compon": 17, "content": [1, 2, 3, 5, 6], "contributor": 26, "core": [17, 19, 20, 21, 22, 26], "custom": 22, "data": [8, 9, 10, 11, 12, 13, 14, 15], "dataset": [2, 16, 19], "design": 22, "develop": 26, "devic": 20, "distribut": [3, 20], "engin": [3, 20], "era5": 8, "event": 14, "exampl": [19, 24], "fact": [8, 9, 10, 11, 12, 13, 14, 15], "firm": 9, "flood": 14, "glanc": [8, 9, 10, 11, 12, 13, 14, 15], "goe": 10, "gpu": 24, "guid": 16, "hardwar": 6, "hazard": 2, "head": 5, "how": [7, 17], "implement": 16, "indic": 17, "infer": 3, "inspect": 19, "instal": 18, "landfir": 11, "lead": 26, "maintain": 26, "mamba": [17, 22], "merra": 12, "metric": [4, 16, 21], "model": [5, 16, 22], "modul": [1, 2, 3, 5, 6, 20, 22], "mtb": 13, "next": 24, "noaa": 14, "note": 22, "overview": [8, 9, 10, 11, 12, 13, 14, 15], "packag": [1, 2, 3, 4, 5, 6], "princip": 26, "public": 25, "pyhazard": [0, 1, 2, 3, 4, 5, 6, 18], "quick": [8, 9, 10, 11, 12, 13, 14, 15, 24], "r": 10, "refer": [8, 9, 10, 11, 12, 13, 14, 15, 25], "regist": 22, "registri": [2, 5], "requir": 18, "skeleton": 19, "spatio": [17, 22], "start": 24, "stat": [8, 9, 10, 11, 12, 13, 14, 15], "step": 24, "submodul": [2, 3, 5, 6, 23], "subpackag": 1, "summari": [19, 20, 21, 22, 23], "support": 24, "tabl": 17, "tabular": 24, "team": 26, "tempor": [17, 22], "toi": [17, 24], "train": 16, "trainer": 3, "transform": [2, 16], "typic": [8, 9, 10, 11, 12, 13, 14, 15, 20], "us": [8, 9, 10, 11, 12, 13, 14, 15], "usag": [20, 21, 24], "util": [6, 23], "variabl": [8, 9, 10, 11, 12, 13, 14, 15], "wfig": 15, "wildfir": [17, 22]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Academic Publications": [[25, "academic-publications"]], "Access": [[8, "access"], [9, "access"], [10, "access"], [11, "access"], [12, "access"], [13, "access"], [14, "access"], [15, "access"]], "At-a-glance (Quick Facts)": [[8, null], [9, null], [10, null], [11, null], [12, null], [13, null], [14, null], [15, null]], "Basic Usage": [[24, "basic-usage"]], "Build a built-in model": [[22, "build-a-built-in-model"]], "Contributors": [[26, "contributors"]], "Core Components": [[17, "core-components"]], "Core Contributors": [[26, "core-contributors"]], "Core Team": [[26, null]], "Core classes": [[21, "core-classes"]], "Core modules": [[20, "core-modules"], [22, "core-modules"]], "Data Characteristics": [[8, "data-characteristics"], [9, "data-characteristics"], [10, "data-characteristics"], [11, "data-characteristics"], [12, "data-characteristics"], [13, "data-characteristics"], [14, "data-characteristics"], [15, "data-characteristics"]], "Dataset inspection": [[19, "dataset-inspection"]], "Datasets": [[16, "datasets"], [19, null], [19, "id1"]], "Design notes": [[22, "design-notes"]], "Developer note": [[19, "developer-note"]], "Distributed and devices": [[20, "distributed-and-devices"]], "ERA5": [[8, null]], "Engine": [[20, null]], "Example skeleton": [[19, "example-skeleton"]], "FIRMS": [[9, null]], "GOES-R": [[10, null]], "GPU Support": [[24, "gpu-support"]], "How to Cite": [[7, null], [17, "how-to-cite"]], "Implementation Guide": [[16, null]], "Indices and tables": [[17, "indices-and-tables"]], "Inspection entrypoints (convention for all datasets)": [[19, "inspection-entrypoints-convention-for-all-datasets"]], "Installation": [[18, null]], "Installing PyHazards": [[18, "installing-pyhazards"]], "LANDFIRE": [[11, null]], "Lead Developer": [[26, "lead-developer"]], "MERRA-2": [[12, null]], "MTBS": [[13, null]], "Mamba-based wildfire model (spatio-temporal)": [[22, "mamba-based-wildfire-model-spatio-temporal"]], "Metrics": [[16, "metrics"], [21, null]], "Models": [[16, "models"], [22, null]], "Module contents": [[1, "module-pyhazards"], [2, "module-pyhazards.datasets"], [3, "module-pyhazards.engine"], [5, "module-pyhazards.models"], [6, "module-pyhazards.utils"]], "NOAA Flood Events": [[14, null]], "Next Steps": [[24, "next-steps"]], "Notes (MERRA-2)": [[19, "notes-merra-2"]], "Overview": [[8, "overview"], [9, "overview"], [10, "overview"], [11, "overview"], [12, "overview"], [13, "overview"], [14, "overview"], [15, "overview"]], "Principal Contributors & Maintainers": [[26, "principal-contributors-maintainers"]], "Quick Start": [[24, null]], "Reference": [[8, "reference"], [9, "reference"], [10, "reference"], [11, "reference"], [12, "reference"], [13, "reference"], [14, "reference"], [15, "reference"]], "References": [[25, null]], "Register a custom model": [[22, "register-a-custom-model"]], "Requirements": [[18, "requirements"]], "Stats": [[8, "stats"], [9, "stats"], [10, "stats"], [11, "stats"], [12, "stats"], [13, "stats"], [14, "stats"], [15, "stats"]], "Submodules": [[2, "submodules"], [3, "submodules"], [5, "submodules"], [6, "submodules"], [23, "submodules"]], "Subpackages": [[1, "subpackages"]], "Summary": [[19, "summary"], [20, "summary"], [21, "summary"], [22, "summary"], [23, "summary"]], "Toy Example (tabular classification)": [[24, "toy-example-tabular-classification"]], "Training": [[16, "training"]], "Transforms": [[16, "transforms"]], "Typical Use Cases": [[8, "typical-use-cases"], [9, "typical-use-cases"], [10, "typical-use-cases"], [11, "typical-use-cases"], [12, "typical-use-cases"], [13, "typical-use-cases"], [14, "typical-use-cases"], [15, "typical-use-cases"]], "Typical usage": [[20, "typical-usage"]], "Usage": [[21, "usage"]], "Utils": [[23, null]], "Variables": [[8, "variables"], [9, "variables"], [10, "variables"], [11, "variables"], [12, "variables"], [13, "variables"], [14, "variables"], [15, "variables"]], "WFIGS": [[15, null]], "Wildfire Mamba (spatio-temporal toy)": [[17, null]], "pyhazards": [[0, null]], "pyhazards package": [[1, null]], "pyhazards.datasets package": [[2, null]], "pyhazards.datasets.base module": [[2, "module-pyhazards.datasets.base"]], "pyhazards.datasets.hazards package": [[2, "module-pyhazards.datasets.hazards"]], "pyhazards.datasets.registry module": [[2, "module-pyhazards.datasets.registry"]], "pyhazards.datasets.transforms package": [[2, "module-pyhazards.datasets.transforms"]], "pyhazards.engine package": [[3, null]], "pyhazards.engine.distributed module": [[3, "module-pyhazards.engine.distributed"]], "pyhazards.engine.inference module": [[3, "module-pyhazards.engine.inference"]], "pyhazards.engine.trainer module": [[3, "module-pyhazards.engine.trainer"]], "pyhazards.metrics package": [[4, null]], "pyhazards.models package": [[5, null]], "pyhazards.models.backbones module": [[5, "module-pyhazards.models.backbones"]], "pyhazards.models.builder module": [[5, "module-pyhazards.models.builder"]], "pyhazards.models.heads module": [[5, "module-pyhazards.models.heads"]], "pyhazards.models.registry module": [[5, "module-pyhazards.models.registry"]], "pyhazards.utils package": [[6, null]], "pyhazards.utils.common module": [[6, "module-pyhazards.utils.common"]], "pyhazards.utils.hardware module": [[6, "module-pyhazards.utils.hardware"]]}, "docnames": ["api/modules", "api/pyhazards", "api/pyhazards.datasets", "api/pyhazards.engine", "api/pyhazards.metrics", "api/pyhazards.models", "api/pyhazards.utils", "cite", "datasets/era5", "datasets/firms", "datasets/goesr", "datasets/landfire", "datasets/merra2", "datasets/mtbs", "datasets/noaa_flood", "datasets/wfigs", "implementation", "index", "installation", "pyhazards_datasets", "pyhazards_engine", "pyhazards_metrics", "pyhazards_models", "pyhazards_utils", "quick_start", "references", "team"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["api/modules.rst", "api/pyhazards.rst", "api/pyhazards.datasets.rst", "api/pyhazards.engine.rst", "api/pyhazards.metrics.rst", "api/pyhazards.models.rst", "api/pyhazards.utils.rst", "cite.rst", "datasets/era5.rst", "datasets/firms.rst", "datasets/goesr.rst", "datasets/landfire.rst", "datasets/merra2.rst", "datasets/mtbs.rst", "datasets/noaa_flood.rst", "datasets/wfigs.rst", "implementation.rst", "index.rst", "installation.rst", "pyhazards_datasets.rst", "pyhazards_engine.rst", "pyhazards_metrics.rst", "pyhazards_models.rst", "pyhazards_utils.rst", "quick_start.rst", "references.rst", "team.rst"], "indexentries": {"_abc_impl (pyhazards.classificationmetrics attribute)": [[1, "pyhazards.ClassificationMetrics._abc_impl", false]], "_abc_impl (pyhazards.datasets.base.transform attribute)": [[2, "pyhazards.datasets.base.Transform._abc_impl", false]], "_abc_impl (pyhazards.metricbase attribute)": [[1, "pyhazards.MetricBase._abc_impl", false]], "_abc_impl (pyhazards.metrics.classificationmetrics attribute)": [[4, "pyhazards.metrics.ClassificationMetrics._abc_impl", false]], "_abc_impl (pyhazards.metrics.metricbase attribute)": [[4, "pyhazards.metrics.MetricBase._abc_impl", false]], "_abc_impl (pyhazards.metrics.regressionmetrics attribute)": [[4, "pyhazards.metrics.RegressionMetrics._abc_impl", false]], "_abc_impl (pyhazards.metrics.segmentationmetrics attribute)": [[4, "pyhazards.metrics.SegmentationMetrics._abc_impl", false]], "_abc_impl (pyhazards.regressionmetrics attribute)": [[1, "pyhazards.RegressionMetrics._abc_impl", false]], "_abc_impl (pyhazards.segmentationmetrics attribute)": [[1, "pyhazards.SegmentationMetrics._abc_impl", false]], "_get_adjacency() (pyhazards.models.wildfiremamba method)": [[5, "pyhazards.models.WildfireMamba._get_adjacency", false]], "_is_protocol (pyhazards.datasets.base.transform attribute)": [[2, "pyhazards.datasets.base.Transform._is_protocol", false]], "_load() (pyhazards.dataset method)": [[1, "pyhazards.Dataset._load", false]], "_load() (pyhazards.datasets.base.dataset method)": [[2, "pyhazards.datasets.base.Dataset._load", false]], "_load() (pyhazards.datasets.dataset method)": [[2, "pyhazards.datasets.Dataset._load", false]], "_make_loader() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer._make_loader", false]], "_make_loader() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer._make_loader", false]], "_make_loader() (pyhazards.trainer method)": [[1, "pyhazards.Trainer._make_loader", false]], "_temporal_delta() (pyhazards.models.wildfiremamba static method)": [[5, "pyhazards.models.WildfireMamba._temporal_delta", false]], "_to_device() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer._to_device", false]], "_to_device() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer._to_device", false]], "_to_device() (pyhazards.trainer method)": [[1, "pyhazards.Trainer._to_device", false]], "auto_device() (in module pyhazards.utils)": [[6, "pyhazards.utils.auto_device", false]], "auto_device() (in module pyhazards.utils.hardware)": [[6, "pyhazards.utils.hardware.auto_device", false]], "available_datasets() (in module pyhazards)": [[1, "pyhazards.available_datasets", false]], "available_datasets() (in module pyhazards.datasets)": [[2, "pyhazards.datasets.available_datasets", false]], "available_datasets() (in module pyhazards.datasets.registry)": [[2, "pyhazards.datasets.registry.available_datasets", false]], "available_models() (in module pyhazards)": [[1, "pyhazards.available_models", false]], "available_models() (in module pyhazards.models)": [[5, "pyhazards.models.available_models", false]], "available_models() (in module pyhazards.models.registry)": [[5, "pyhazards.models.registry.available_models", false]], "build_model() (in module pyhazards)": [[1, "pyhazards.build_model", false]], "build_model() (in module pyhazards.models)": [[5, "pyhazards.models.build_model", false]], "build_model() (in module pyhazards.models.builder)": [[5, "pyhazards.models.builder.build_model", false]], "channels (pyhazards.datasets.base.featurespec attribute)": [[2, "pyhazards.datasets.base.FeatureSpec.channels", false]], "channels (pyhazards.datasets.featurespec attribute)": [[2, "pyhazards.datasets.FeatureSpec.channels", false]], "channels (pyhazards.featurespec attribute)": [[1, "pyhazards.FeatureSpec.channels", false]], "classificationhead (class in pyhazards)": [[1, "pyhazards.ClassificationHead", false]], "classificationhead (class in pyhazards.models)": [[5, "pyhazards.models.ClassificationHead", false]], "classificationhead (class in pyhazards.models.heads)": [[5, "pyhazards.models.heads.ClassificationHead", false]], "classificationmetrics (class in pyhazards)": [[1, "pyhazards.ClassificationMetrics", false]], "classificationmetrics (class in pyhazards.metrics)": [[4, "pyhazards.metrics.ClassificationMetrics", false]], "cnn_aspp_builder() (in module pyhazards.models)": [[5, "pyhazards.models.cnn_aspp_builder", false]], "cnnpatchencoder (class in pyhazards)": [[1, "pyhazards.CNNPatchEncoder", false]], "cnnpatchencoder (class in pyhazards.models)": [[5, "pyhazards.models.CNNPatchEncoder", false]], "cnnpatchencoder (class in pyhazards.models.backbones)": [[5, "pyhazards.models.backbones.CNNPatchEncoder", false]], "compute() (pyhazards.classificationmetrics method)": [[1, "pyhazards.ClassificationMetrics.compute", false]], "compute() (pyhazards.metricbase method)": [[1, "pyhazards.MetricBase.compute", false]], "compute() (pyhazards.metrics.classificationmetrics method)": [[4, "pyhazards.metrics.ClassificationMetrics.compute", false]], "compute() (pyhazards.metrics.metricbase method)": [[4, "pyhazards.metrics.MetricBase.compute", false]], "compute() (pyhazards.metrics.regressionmetrics method)": [[4, "pyhazards.metrics.RegressionMetrics.compute", false]], "compute() (pyhazards.metrics.segmentationmetrics method)": [[4, "pyhazards.metrics.SegmentationMetrics.compute", false]], "compute() (pyhazards.regressionmetrics method)": [[1, "pyhazards.RegressionMetrics.compute", false]], "compute() (pyhazards.segmentationmetrics method)": [[1, "pyhazards.SegmentationMetrics.compute", false]], "databundle (class in pyhazards)": [[1, "pyhazards.DataBundle", false]], "databundle (class in pyhazards.datasets)": [[2, "pyhazards.datasets.DataBundle", false]], "databundle (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.DataBundle", false]], "dataset (class in pyhazards)": [[1, "pyhazards.Dataset", false]], "dataset (class in pyhazards.datasets)": [[2, "pyhazards.datasets.Dataset", false]], "dataset (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.Dataset", false]], "datasplit (class in pyhazards)": [[1, "pyhazards.DataSplit", false]], "datasplit (class in pyhazards.datasets)": [[2, "pyhazards.datasets.DataSplit", false]], "datasplit (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.DataSplit", false]], "default_builder() (in module pyhazards.models.builder)": [[5, "pyhazards.models.builder.default_builder", false]], "description (pyhazards.datasets.base.featurespec attribute)": [[2, "pyhazards.datasets.base.FeatureSpec.description", false]], "description (pyhazards.datasets.base.labelspec attribute)": [[2, "pyhazards.datasets.base.LabelSpec.description", false]], "description (pyhazards.datasets.featurespec attribute)": [[2, "pyhazards.datasets.FeatureSpec.description", false]], "description (pyhazards.datasets.labelspec attribute)": [[2, "pyhazards.datasets.LabelSpec.description", false]], "description (pyhazards.featurespec attribute)": [[1, "pyhazards.FeatureSpec.description", false]], "description (pyhazards.labelspec attribute)": [[1, "pyhazards.LabelSpec.description", false]], "devices (pyhazards.engine.distributed.distributedconfig attribute)": [[3, "pyhazards.engine.distributed.DistributedConfig.devices", false]], "devices (pyhazards.engine.distributedconfig attribute)": [[3, "pyhazards.engine.DistributedConfig.devices", false]], "distributedconfig (class in pyhazards.engine)": [[3, "pyhazards.engine.DistributedConfig", false]], "distributedconfig (class in pyhazards.engine.distributed)": [[3, "pyhazards.engine.distributed.DistributedConfig", false]], "evaluate() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer.evaluate", false]], "evaluate() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer.evaluate", false]], "evaluate() (pyhazards.trainer method)": [[1, "pyhazards.Trainer.evaluate", false]], "extra (pyhazards.datasets.base.featurespec attribute)": [[2, "pyhazards.datasets.base.FeatureSpec.extra", false]], "extra (pyhazards.datasets.base.labelspec attribute)": [[2, "pyhazards.datasets.base.LabelSpec.extra", false]], "extra (pyhazards.datasets.featurespec attribute)": [[2, "pyhazards.datasets.FeatureSpec.extra", false]], "extra (pyhazards.datasets.labelspec attribute)": [[2, "pyhazards.datasets.LabelSpec.extra", false]], "extra (pyhazards.featurespec attribute)": [[1, "pyhazards.FeatureSpec.extra", false]], "extra (pyhazards.labelspec attribute)": [[1, "pyhazards.LabelSpec.extra", false]], "feature_spec (pyhazards.databundle attribute)": [[1, "pyhazards.DataBundle.feature_spec", false]], "feature_spec (pyhazards.datasets.base.databundle attribute)": [[2, "pyhazards.datasets.base.DataBundle.feature_spec", false]], "feature_spec (pyhazards.datasets.databundle attribute)": [[2, "pyhazards.datasets.DataBundle.feature_spec", false]], "featurespec (class in pyhazards)": [[1, "pyhazards.FeatureSpec", false]], "featurespec (class in pyhazards.datasets)": [[2, "pyhazards.datasets.FeatureSpec", false]], "featurespec (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.FeatureSpec", false]], "fit() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer.fit", false]], "fit() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer.fit", false]], "fit() (pyhazards.trainer method)": [[1, "pyhazards.Trainer.fit", false]], "forward() (pyhazards.classificationhead method)": [[1, "pyhazards.ClassificationHead.forward", false]], "forward() (pyhazards.cnnpatchencoder method)": [[1, "pyhazards.CNNPatchEncoder.forward", false]], "forward() (pyhazards.mlpbackbone method)": [[1, "pyhazards.MLPBackbone.forward", false]], "forward() (pyhazards.models.backbones.cnnpatchencoder method)": [[5, "pyhazards.models.backbones.CNNPatchEncoder.forward", false]], "forward() (pyhazards.models.backbones.mlpbackbone method)": [[5, "pyhazards.models.backbones.MLPBackbone.forward", false]], "forward() (pyhazards.models.backbones.temporalencoder method)": [[5, "pyhazards.models.backbones.TemporalEncoder.forward", false]], "forward() (pyhazards.models.classificationhead method)": [[5, "pyhazards.models.ClassificationHead.forward", false]], "forward() (pyhazards.models.cnnpatchencoder method)": [[5, "pyhazards.models.CNNPatchEncoder.forward", false]], "forward() (pyhazards.models.heads.classificationhead method)": [[5, "pyhazards.models.heads.ClassificationHead.forward", false]], "forward() (pyhazards.models.heads.regressionhead method)": [[5, "pyhazards.models.heads.RegressionHead.forward", false]], "forward() (pyhazards.models.heads.segmentationhead method)": [[5, "pyhazards.models.heads.SegmentationHead.forward", false]], "forward() (pyhazards.models.mlpbackbone method)": [[5, "pyhazards.models.MLPBackbone.forward", false]], "forward() (pyhazards.models.regressionhead method)": [[5, "pyhazards.models.RegressionHead.forward", false]], "forward() (pyhazards.models.segmentationhead method)": [[5, "pyhazards.models.SegmentationHead.forward", false]], "forward() (pyhazards.models.temporalencoder method)": [[5, "pyhazards.models.TemporalEncoder.forward", false]], "forward() (pyhazards.models.tverskyloss method)": [[5, "pyhazards.models.TverskyLoss.forward", false]], "forward() (pyhazards.models.wildfirecnnaspp method)": [[5, "pyhazards.models.WildfireCNNASPP.forward", false]], "forward() (pyhazards.models.wildfiremamba method)": [[5, "pyhazards.models.WildfireMamba.forward", false]], "forward() (pyhazards.regressionhead method)": [[1, "pyhazards.RegressionHead.forward", false]], "forward() (pyhazards.segmentationhead method)": [[1, "pyhazards.SegmentationHead.forward", false]], "forward() (pyhazards.temporalencoder method)": [[1, "pyhazards.TemporalEncoder.forward", false]], "get_device() (in module pyhazards.utils)": [[6, "pyhazards.utils.get_device", false]], "get_device() (in module pyhazards.utils.hardware)": [[6, "pyhazards.utils.hardware.get_device", false]], "get_logger() (in module pyhazards.utils)": [[6, "pyhazards.utils.get_logger", false]], "get_logger() (in module pyhazards.utils.common)": [[6, "pyhazards.utils.common.get_logger", false]], "get_model_config() (in module pyhazards.models.registry)": [[5, "pyhazards.models.registry.get_model_config", false]], "get_split() (pyhazards.databundle method)": [[1, "pyhazards.DataBundle.get_split", false]], "get_split() (pyhazards.datasets.base.databundle method)": [[2, "pyhazards.datasets.base.DataBundle.get_split", false]], "get_split() (pyhazards.datasets.databundle method)": [[2, "pyhazards.datasets.DataBundle.get_split", false]], "graph_collate() (in module pyhazards.datasets)": [[2, "pyhazards.datasets.graph_collate", false]], "graphtemporaldataset (class in pyhazards.datasets)": [[2, "pyhazards.datasets.GraphTemporalDataset", false]], "input_dim (pyhazards.datasets.base.featurespec attribute)": [[2, "pyhazards.datasets.base.FeatureSpec.input_dim", false]], "input_dim (pyhazards.datasets.featurespec attribute)": [[2, "pyhazards.datasets.FeatureSpec.input_dim", false]], "input_dim (pyhazards.featurespec attribute)": [[1, "pyhazards.FeatureSpec.input_dim", false]], "inputs (pyhazards.datasets.base.datasplit attribute)": [[2, "pyhazards.datasets.base.DataSplit.inputs", false]], "inputs (pyhazards.datasets.datasplit attribute)": [[2, "pyhazards.datasets.DataSplit.inputs", false]], "inputs (pyhazards.datasplit attribute)": [[1, "pyhazards.DataSplit.inputs", false]], "label_spec (pyhazards.databundle attribute)": [[1, "pyhazards.DataBundle.label_spec", false]], "label_spec (pyhazards.datasets.base.databundle attribute)": [[2, "pyhazards.datasets.base.DataBundle.label_spec", false]], "label_spec (pyhazards.datasets.databundle attribute)": [[2, "pyhazards.datasets.DataBundle.label_spec", false]], "labelspec (class in pyhazards)": [[1, "pyhazards.LabelSpec", false]], "labelspec (class in pyhazards.datasets)": [[2, "pyhazards.datasets.LabelSpec", false]], "labelspec (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.LabelSpec", false]], "load() (pyhazards.dataset method)": [[1, "pyhazards.Dataset.load", false]], "load() (pyhazards.datasets.base.dataset method)": [[2, "pyhazards.datasets.base.Dataset.load", false]], "load() (pyhazards.datasets.dataset method)": [[2, "pyhazards.datasets.Dataset.load", false]], "load_dataset() (in module pyhazards)": [[1, "pyhazards.load_dataset", false]], "load_dataset() (in module pyhazards.datasets)": [[2, "pyhazards.datasets.load_dataset", false]], "load_dataset() (in module pyhazards.datasets.registry)": [[2, "pyhazards.datasets.registry.load_dataset", false]], "metadata (pyhazards.databundle attribute)": [[1, "pyhazards.DataBundle.metadata", false]], "metadata (pyhazards.datasets.base.databundle attribute)": [[2, "pyhazards.datasets.base.DataBundle.metadata", false]], "metadata (pyhazards.datasets.base.datasplit attribute)": [[2, "pyhazards.datasets.base.DataSplit.metadata", false]], "metadata (pyhazards.datasets.databundle attribute)": [[2, "pyhazards.datasets.DataBundle.metadata", false]], "metadata (pyhazards.datasets.datasplit attribute)": [[2, "pyhazards.datasets.DataSplit.metadata", false]], "metadata (pyhazards.datasplit attribute)": [[1, "pyhazards.DataSplit.metadata", false]], "metricbase (class in pyhazards)": [[1, "pyhazards.MetricBase", false]], "metricbase (class in pyhazards.metrics)": [[4, "pyhazards.metrics.MetricBase", false]], "mlpbackbone (class in pyhazards)": [[1, "pyhazards.MLPBackbone", false]], "mlpbackbone (class in pyhazards.models)": [[5, "pyhazards.models.MLPBackbone", false]], "mlpbackbone (class in pyhazards.models.backbones)": [[5, "pyhazards.models.backbones.MLPBackbone", false]], "module": [[1, "module-pyhazards", false], [2, "module-pyhazards.datasets", false], [2, "module-pyhazards.datasets.base", false], [2, "module-pyhazards.datasets.hazards", false], [2, "module-pyhazards.datasets.registry", false], [2, "module-pyhazards.datasets.transforms", false], [3, "module-pyhazards.engine", false], [3, "module-pyhazards.engine.distributed", false], [3, "module-pyhazards.engine.inference", false], [3, "module-pyhazards.engine.trainer", false], [4, "module-pyhazards.metrics", false], [5, "module-pyhazards.models", false], [5, "module-pyhazards.models.backbones", false], [5, "module-pyhazards.models.builder", false], [5, "module-pyhazards.models.heads", false], [5, "module-pyhazards.models.registry", false], [6, "module-pyhazards.utils", false], [6, "module-pyhazards.utils.common", false], [6, "module-pyhazards.utils.hardware", false]], "name (pyhazards.dataset attribute)": [[1, "pyhazards.Dataset.name", false]], "name (pyhazards.datasets.base.dataset attribute)": [[2, "pyhazards.datasets.base.Dataset.name", false]], "name (pyhazards.datasets.dataset attribute)": [[2, "pyhazards.datasets.Dataset.name", false]], "num_devices() (in module pyhazards.utils)": [[6, "pyhazards.utils.num_devices", false]], "num_devices() (in module pyhazards.utils.hardware)": [[6, "pyhazards.utils.hardware.num_devices", false]], "num_targets (pyhazards.datasets.base.labelspec attribute)": [[2, "pyhazards.datasets.base.LabelSpec.num_targets", false]], "num_targets (pyhazards.datasets.labelspec attribute)": [[2, "pyhazards.datasets.LabelSpec.num_targets", false]], "num_targets (pyhazards.labelspec attribute)": [[1, "pyhazards.LabelSpec.num_targets", false]], "predict() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer.predict", false]], "predict() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer.predict", false]], "predict() (pyhazards.trainer method)": [[1, "pyhazards.Trainer.predict", false]], "pyhazards": [[1, "module-pyhazards", false]], "pyhazards.datasets": [[2, "module-pyhazards.datasets", false]], "pyhazards.datasets.base": [[2, "module-pyhazards.datasets.base", false]], "pyhazards.datasets.hazards": [[2, "module-pyhazards.datasets.hazards", false]], "pyhazards.datasets.registry": [[2, "module-pyhazards.datasets.registry", false]], "pyhazards.datasets.transforms": [[2, "module-pyhazards.datasets.transforms", false]], "pyhazards.engine": [[3, "module-pyhazards.engine", false]], "pyhazards.engine.distributed": [[3, "module-pyhazards.engine.distributed", false]], "pyhazards.engine.inference": [[3, "module-pyhazards.engine.inference", false]], "pyhazards.engine.trainer": [[3, "module-pyhazards.engine.trainer", false]], "pyhazards.metrics": [[4, "module-pyhazards.metrics", false]], "pyhazards.models": [[5, "module-pyhazards.models", false]], "pyhazards.models.backbones": [[5, "module-pyhazards.models.backbones", false]], "pyhazards.models.builder": [[5, "module-pyhazards.models.builder", false]], "pyhazards.models.heads": [[5, "module-pyhazards.models.heads", false]], "pyhazards.models.registry": [[5, "module-pyhazards.models.registry", false]], "pyhazards.utils": [[6, "module-pyhazards.utils", false]], "pyhazards.utils.common": [[6, "module-pyhazards.utils.common", false]], "pyhazards.utils.hardware": [[6, "module-pyhazards.utils.hardware", false]], "register_dataset() (in module pyhazards)": [[1, "pyhazards.register_dataset", false]], "register_dataset() (in module pyhazards.datasets)": [[2, "pyhazards.datasets.register_dataset", false]], "register_dataset() (in module pyhazards.datasets.registry)": [[2, "pyhazards.datasets.registry.register_dataset", false]], "register_model() (in module pyhazards)": [[1, "pyhazards.register_model", false]], "register_model() (in module pyhazards.models)": [[5, "pyhazards.models.register_model", false]], "register_model() (in module pyhazards.models.registry)": [[5, "pyhazards.models.registry.register_model", false]], "regressionhead (class in pyhazards)": [[1, "pyhazards.RegressionHead", false]], "regressionhead (class in pyhazards.models)": [[5, "pyhazards.models.RegressionHead", false]], "regressionhead (class in pyhazards.models.heads)": [[5, "pyhazards.models.heads.RegressionHead", false]], "regressionmetrics (class in pyhazards)": [[1, "pyhazards.RegressionMetrics", false]], "regressionmetrics (class in pyhazards.metrics)": [[4, "pyhazards.metrics.RegressionMetrics", false]], "reset() (pyhazards.classificationmetrics method)": [[1, "pyhazards.ClassificationMetrics.reset", false]], "reset() (pyhazards.metricbase method)": [[1, "pyhazards.MetricBase.reset", false]], "reset() (pyhazards.metrics.classificationmetrics method)": [[4, "pyhazards.metrics.ClassificationMetrics.reset", false]], "reset() (pyhazards.metrics.metricbase method)": [[4, "pyhazards.metrics.MetricBase.reset", false]], "reset() (pyhazards.metrics.regressionmetrics method)": [[4, "pyhazards.metrics.RegressionMetrics.reset", false]], "reset() (pyhazards.metrics.segmentationmetrics method)": [[4, "pyhazards.metrics.SegmentationMetrics.reset", false]], "reset() (pyhazards.regressionmetrics method)": [[1, "pyhazards.RegressionMetrics.reset", false]], "reset() (pyhazards.segmentationmetrics method)": [[1, "pyhazards.SegmentationMetrics.reset", false]], "save_checkpoint() (pyhazards.engine.trainer method)": [[3, "pyhazards.engine.Trainer.save_checkpoint", false]], "save_checkpoint() (pyhazards.engine.trainer.trainer method)": [[3, "pyhazards.engine.trainer.Trainer.save_checkpoint", false]], "save_checkpoint() (pyhazards.trainer method)": [[1, "pyhazards.Trainer.save_checkpoint", false]], "seed_all() (in module pyhazards.utils)": [[6, "pyhazards.utils.seed_all", false]], "seed_all() (in module pyhazards.utils.common)": [[6, "pyhazards.utils.common.seed_all", false]], "segmentationhead (class in pyhazards)": [[1, "pyhazards.SegmentationHead", false]], "segmentationhead (class in pyhazards.models)": [[5, "pyhazards.models.SegmentationHead", false]], "segmentationhead (class in pyhazards.models.heads)": [[5, "pyhazards.models.heads.SegmentationHead", false]], "segmentationmetrics (class in pyhazards)": [[1, "pyhazards.SegmentationMetrics", false]], "segmentationmetrics (class in pyhazards.metrics)": [[4, "pyhazards.metrics.SegmentationMetrics", false]], "select_strategy() (in module pyhazards.engine)": [[3, "pyhazards.engine.select_strategy", false]], "select_strategy() (in module pyhazards.engine.distributed)": [[3, "pyhazards.engine.distributed.select_strategy", false]], "set_adjacency() (pyhazards.models.wildfiremamba method)": [[5, "pyhazards.models.WildfireMamba.set_adjacency", false]], "set_device() (in module pyhazards.utils)": [[6, "pyhazards.utils.set_device", false]], "set_device() (in module pyhazards.utils.hardware)": [[6, "pyhazards.utils.hardware.set_device", false]], "slidingwindowinference (class in pyhazards.engine)": [[3, "pyhazards.engine.SlidingWindowInference", false]], "slidingwindowinference (class in pyhazards.engine.inference)": [[3, "pyhazards.engine.inference.SlidingWindowInference", false]], "splits (pyhazards.databundle attribute)": [[1, "pyhazards.DataBundle.splits", false]], "splits (pyhazards.datasets.base.databundle attribute)": [[2, "pyhazards.datasets.base.DataBundle.splits", false]], "splits (pyhazards.datasets.databundle attribute)": [[2, "pyhazards.datasets.DataBundle.splits", false]], "strategy (pyhazards.engine.distributed.distributedconfig attribute)": [[3, "pyhazards.engine.distributed.DistributedConfig.strategy", false]], "strategy (pyhazards.engine.distributedconfig attribute)": [[3, "pyhazards.engine.DistributedConfig.strategy", false]], "targets (pyhazards.datasets.base.datasplit attribute)": [[2, "pyhazards.datasets.base.DataSplit.targets", false]], "targets (pyhazards.datasets.datasplit attribute)": [[2, "pyhazards.datasets.DataSplit.targets", false]], "targets (pyhazards.datasplit attribute)": [[1, "pyhazards.DataSplit.targets", false]], "task_type (pyhazards.datasets.base.labelspec attribute)": [[2, "pyhazards.datasets.base.LabelSpec.task_type", false]], "task_type (pyhazards.datasets.labelspec attribute)": [[2, "pyhazards.datasets.LabelSpec.task_type", false]], "task_type (pyhazards.labelspec attribute)": [[1, "pyhazards.LabelSpec.task_type", false]], "temporalencoder (class in pyhazards)": [[1, "pyhazards.TemporalEncoder", false]], "temporalencoder (class in pyhazards.models)": [[5, "pyhazards.models.TemporalEncoder", false]], "temporalencoder (class in pyhazards.models.backbones)": [[5, "pyhazards.models.backbones.TemporalEncoder", false]], "trainer (class in pyhazards)": [[1, "pyhazards.Trainer", false]], "trainer (class in pyhazards.engine)": [[3, "pyhazards.engine.Trainer", false]], "trainer (class in pyhazards.engine.trainer)": [[3, "pyhazards.engine.trainer.Trainer", false]], "transform (class in pyhazards.datasets.base)": [[2, "pyhazards.datasets.base.Transform", false]], "tverskyloss (class in pyhazards.models)": [[5, "pyhazards.models.TverskyLoss", false]], "update() (pyhazards.classificationmetrics method)": [[1, "pyhazards.ClassificationMetrics.update", false]], "update() (pyhazards.metricbase method)": [[1, "pyhazards.MetricBase.update", false]], "update() (pyhazards.metrics.classificationmetrics method)": [[4, "pyhazards.metrics.ClassificationMetrics.update", false]], "update() (pyhazards.metrics.metricbase method)": [[4, "pyhazards.metrics.MetricBase.update", false]], "update() (pyhazards.metrics.regressionmetrics method)": [[4, "pyhazards.metrics.RegressionMetrics.update", false]], "update() (pyhazards.metrics.segmentationmetrics method)": [[4, "pyhazards.metrics.SegmentationMetrics.update", false]], "update() (pyhazards.regressionmetrics method)": [[1, "pyhazards.RegressionMetrics.update", false]], "update() (pyhazards.segmentationmetrics method)": [[1, "pyhazards.SegmentationMetrics.update", false]], "wildfire_aspp_builder() (in module pyhazards.models)": [[5, "pyhazards.models.wildfire_aspp_builder", false]], "wildfire_mamba_builder() (in module pyhazards.models)": [[5, "pyhazards.models.wildfire_mamba_builder", false]], "wildfireaspp (class in pyhazards.models)": [[5, "pyhazards.models.WildfireASPP", false]], "wildfirecnnaspp (class in pyhazards.models)": [[5, "pyhazards.models.WildfireCNNASPP", false]], "wildfiremamba (class in pyhazards.models)": [[5, "pyhazards.models.WildfireMamba", false]]}, "objects": {"": [[1, 0, 0, "-", "pyhazards"]], "pyhazards": [[1, 1, 1, "", "CNNPatchEncoder"], [1, 1, 1, "", "ClassificationHead"], [1, 1, 1, "", "ClassificationMetrics"], [1, 1, 1, "", "DataBundle"], [1, 1, 1, "", "DataSplit"], [1, 1, 1, "", "Dataset"], [1, 1, 1, "", "FeatureSpec"], [1, 1, 1, "", "LabelSpec"], [1, 1, 1, "", "MLPBackbone"], [1, 1, 1, "", "MetricBase"], [1, 1, 1, "", "RegressionHead"], [1, 1, 1, "", "RegressionMetrics"], [1, 1, 1, "", "SegmentationHead"], [1, 1, 1, "", "SegmentationMetrics"], [1, 1, 1, "", "TemporalEncoder"], [1, 1, 1, "", "Trainer"], [1, 4, 1, "", "available_datasets"], [1, 4, 1, "", "available_models"], [1, 4, 1, "", "build_model"], [2, 0, 0, "-", "datasets"], [3, 0, 0, "-", "engine"], [1, 4, 1, "", "load_dataset"], [4, 0, 0, "-", "metrics"], [5, 0, 0, "-", "models"], [1, 4, 1, "", "register_dataset"], [1, 4, 1, "", "register_model"], [6, 0, 0, "-", "utils"]], "pyhazards.CNNPatchEncoder": [[1, 2, 1, "", "forward"]], "pyhazards.ClassificationHead": [[1, 2, 1, "", "forward"]], "pyhazards.ClassificationMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.DataBundle": [[1, 3, 1, "", "feature_spec"], [1, 2, 1, "", "get_split"], [1, 3, 1, "", "label_spec"], [1, 3, 1, "", "metadata"], [1, 3, 1, "", "splits"]], "pyhazards.DataSplit": [[1, 3, 1, "", "inputs"], [1, 3, 1, "", "metadata"], [1, 3, 1, "", "targets"]], "pyhazards.Dataset": [[1, 2, 1, "", "_load"], [1, 2, 1, "", "load"], [1, 3, 1, "", "name"]], "pyhazards.FeatureSpec": [[1, 3, 1, "", "channels"], [1, 3, 1, "", "description"], [1, 3, 1, "", "extra"], [1, 3, 1, "", "input_dim"]], "pyhazards.LabelSpec": [[1, 3, 1, "", "description"], [1, 3, 1, "", "extra"], [1, 3, 1, "", "num_targets"], [1, 3, 1, "", "task_type"]], "pyhazards.MLPBackbone": [[1, 2, 1, "", "forward"]], "pyhazards.MetricBase": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.RegressionHead": [[1, 2, 1, "", "forward"]], "pyhazards.RegressionMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.SegmentationHead": [[1, 2, 1, "", "forward"]], "pyhazards.SegmentationMetrics": [[1, 3, 1, "", "_abc_impl"], [1, 2, 1, "", "compute"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "update"]], "pyhazards.TemporalEncoder": [[1, 2, 1, "", "forward"]], "pyhazards.Trainer": [[1, 2, 1, "", "_make_loader"], [1, 2, 1, "", "_to_device"], [1, 2, 1, "", "evaluate"], [1, 2, 1, "", "fit"], [1, 2, 1, "", "predict"], [1, 2, 1, "", "save_checkpoint"]], "pyhazards.datasets": [[2, 1, 1, "", "DataBundle"], [2, 1, 1, "", "DataSplit"], [2, 1, 1, "", "Dataset"], [2, 1, 1, "", "FeatureSpec"], [2, 1, 1, "", "GraphTemporalDataset"], [2, 1, 1, "", "LabelSpec"], [2, 4, 1, "", "available_datasets"], [2, 0, 0, "-", "base"], [2, 4, 1, "", "graph_collate"], [2, 0, 0, "-", "hazards"], [2, 4, 1, "", "load_dataset"], [2, 4, 1, "", "register_dataset"], [2, 0, 0, "-", "registry"], [2, 0, 0, "-", "transforms"]], "pyhazards.datasets.DataBundle": [[2, 3, 1, "", "feature_spec"], [2, 2, 1, "", "get_split"], [2, 3, 1, "", "label_spec"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "splits"]], "pyhazards.datasets.DataSplit": [[2, 3, 1, "", "inputs"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "targets"]], "pyhazards.datasets.Dataset": [[2, 2, 1, "", "_load"], [2, 2, 1, "", "load"], [2, 3, 1, "", "name"]], "pyhazards.datasets.FeatureSpec": [[2, 3, 1, "", "channels"], [2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "input_dim"]], "pyhazards.datasets.LabelSpec": [[2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "num_targets"], [2, 3, 1, "", "task_type"]], "pyhazards.datasets.base": [[2, 1, 1, "", "DataBundle"], [2, 1, 1, "", "DataSplit"], [2, 1, 1, "", "Dataset"], [2, 1, 1, "", "FeatureSpec"], [2, 1, 1, "", "LabelSpec"], [2, 1, 1, "", "Transform"]], "pyhazards.datasets.base.DataBundle": [[2, 3, 1, "", "feature_spec"], [2, 2, 1, "", "get_split"], [2, 3, 1, "", "label_spec"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "splits"]], "pyhazards.datasets.base.DataSplit": [[2, 3, 1, "", "inputs"], [2, 3, 1, "", "metadata"], [2, 3, 1, "", "targets"]], "pyhazards.datasets.base.Dataset": [[2, 2, 1, "", "_load"], [2, 2, 1, "", "load"], [2, 3, 1, "", "name"]], "pyhazards.datasets.base.FeatureSpec": [[2, 3, 1, "", "channels"], [2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "input_dim"]], "pyhazards.datasets.base.LabelSpec": [[2, 3, 1, "", "description"], [2, 3, 1, "", "extra"], [2, 3, 1, "", "num_targets"], [2, 3, 1, "", "task_type"]], "pyhazards.datasets.base.Transform": [[2, 3, 1, "", "_abc_impl"], [2, 3, 1, "", "_is_protocol"]], "pyhazards.datasets.registry": [[2, 4, 1, "", "available_datasets"], [2, 4, 1, "", "load_dataset"], [2, 4, 1, "", "register_dataset"]], "pyhazards.engine": [[3, 1, 1, "", "DistributedConfig"], [3, 1, 1, "", "SlidingWindowInference"], [3, 1, 1, "", "Trainer"], [3, 0, 0, "-", "distributed"], [3, 0, 0, "-", "inference"], [3, 4, 1, "", "select_strategy"], [3, 0, 0, "-", "trainer"]], "pyhazards.engine.DistributedConfig": [[3, 3, 1, "", "devices"], [3, 3, 1, "", "strategy"]], "pyhazards.engine.Trainer": [[3, 2, 1, "", "_make_loader"], [3, 2, 1, "", "_to_device"], [3, 2, 1, "", "evaluate"], [3, 2, 1, "", "fit"], [3, 2, 1, "", "predict"], [3, 2, 1, "", "save_checkpoint"]], "pyhazards.engine.distributed": [[3, 1, 1, "", "DistributedConfig"], [3, 4, 1, "", "select_strategy"]], "pyhazards.engine.distributed.DistributedConfig": [[3, 3, 1, "", "devices"], [3, 3, 1, "", "strategy"]], "pyhazards.engine.inference": [[3, 1, 1, "", "SlidingWindowInference"]], "pyhazards.engine.trainer": [[3, 1, 1, "", "Trainer"]], "pyhazards.engine.trainer.Trainer": [[3, 2, 1, "", "_make_loader"], [3, 2, 1, "", "_to_device"], [3, 2, 1, "", "evaluate"], [3, 2, 1, "", "fit"], [3, 2, 1, "", "predict"], [3, 2, 1, "", "save_checkpoint"]], "pyhazards.metrics": [[4, 1, 1, "", "ClassificationMetrics"], [4, 1, 1, "", "MetricBase"], [4, 1, 1, "", "RegressionMetrics"], [4, 1, 1, "", "SegmentationMetrics"]], "pyhazards.metrics.ClassificationMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.MetricBase": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.RegressionMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.metrics.SegmentationMetrics": [[4, 3, 1, "", "_abc_impl"], [4, 2, 1, "", "compute"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "update"]], "pyhazards.models": [[5, 1, 1, "", "CNNPatchEncoder"], [5, 1, 1, "", "ClassificationHead"], [5, 1, 1, "", "MLPBackbone"], [5, 1, 1, "", "RegressionHead"], [5, 1, 1, "", "SegmentationHead"], [5, 1, 1, "", "TemporalEncoder"], [5, 1, 1, "", "TverskyLoss"], [5, 1, 1, "", "WildfireASPP"], [5, 1, 1, "", "WildfireCNNASPP"], [5, 1, 1, "", "WildfireMamba"], [5, 4, 1, "", "available_models"], [5, 0, 0, "-", "backbones"], [5, 4, 1, "", "build_model"], [5, 0, 0, "-", "builder"], [5, 4, 1, "", "cnn_aspp_builder"], [5, 0, 0, "-", "heads"], [5, 4, 1, "", "register_model"], [5, 0, 0, "-", "registry"], [5, 4, 1, "", "wildfire_aspp_builder"], [5, 4, 1, "", "wildfire_mamba_builder"]], "pyhazards.models.CNNPatchEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.ClassificationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.MLPBackbone": [[5, 2, 1, "", "forward"]], "pyhazards.models.RegressionHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.SegmentationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.TemporalEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.TverskyLoss": [[5, 2, 1, "", "forward"]], "pyhazards.models.WildfireCNNASPP": [[5, 2, 1, "", "forward"]], "pyhazards.models.WildfireMamba": [[5, 2, 1, "", "_get_adjacency"], [5, 2, 1, "", "_temporal_delta"], [5, 2, 1, "", "forward"], [5, 2, 1, "", "set_adjacency"]], "pyhazards.models.backbones": [[5, 1, 1, "", "CNNPatchEncoder"], [5, 1, 1, "", "MLPBackbone"], [5, 1, 1, "", "TemporalEncoder"]], "pyhazards.models.backbones.CNNPatchEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.backbones.MLPBackbone": [[5, 2, 1, "", "forward"]], "pyhazards.models.backbones.TemporalEncoder": [[5, 2, 1, "", "forward"]], "pyhazards.models.builder": [[5, 4, 1, "", "build_model"], [5, 4, 1, "", "default_builder"]], "pyhazards.models.heads": [[5, 1, 1, "", "ClassificationHead"], [5, 1, 1, "", "RegressionHead"], [5, 1, 1, "", "SegmentationHead"]], "pyhazards.models.heads.ClassificationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.heads.RegressionHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.heads.SegmentationHead": [[5, 2, 1, "", "forward"]], "pyhazards.models.registry": [[5, 4, 1, "", "available_models"], [5, 4, 1, "", "get_model_config"], [5, 4, 1, "", "register_model"]], "pyhazards.utils": [[6, 4, 1, "", "auto_device"], [6, 0, 0, "-", "common"], [6, 4, 1, "", "get_device"], [6, 4, 1, "", "get_logger"], [6, 0, 0, "-", "hardware"], [6, 4, 1, "", "num_devices"], [6, 4, 1, "", "seed_all"], [6, 4, 1, "", "set_device"]], "pyhazards.utils.common": [[6, 4, 1, "", "get_logger"], [6, 4, 1, "", "seed_all"]], "pyhazards.utils.hardware": [[6, 4, 1, "", "auto_device"], [6, 4, 1, "", "get_device"], [6, 4, 1, "", "num_devices"], [6, 4, 1, "", "set_device"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function"}, "terms": {"": [10, 11, 13, 15, 19, 26], "0": [1, 3, 5, 8, 10, 12, 16, 17, 18, 22, 24], "00230": 10, "008": 9, "0301003": 13, "06": 5, "0758": 12, "08": 9, "1": [1, 3, 5, 9, 10, 12, 13, 17, 19, 22], "10": [8, 9, 10, 11, 12, 13, 16, 20], "1000": 16, "1002": 8, "1016": 9, "1071": 11, "11": 9, "1175": [10, 12], "12": [5, 18, 22], "120": 14, "128": [1, 5, 16, 22], "14": 12, "143": 9, "146": 8, "15": [10, 15], "16": [12, 16, 17, 20, 22, 24], "18": 11, "1940": 8, "1950": 14, "1980": 12, "1984": 13, "1999": 8, "1b": 10, "1e": [5, 16, 17, 20, 22, 24], "2": [1, 5, 8, 9, 10, 16, 17, 18, 20, 22, 24], "20": 9, "2007": [13, 19], "2009": 11, "2013": 9, "2014": [9, 19], "2017": [10, 12, 19], "2020": [8, 19], "2025": 17, "20260101": 19, "2049": 8, "21": [9, 13], "235": 11, "24": 17, "249": 11, "25": 8, "256": [1, 5, 22], "3": [1, 5, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 22, 24], "30": [9, 10, 11, 12, 13], "30m": 9, "32": [1, 3, 5, 17, 22], "350": [17, 24], "375": 9, "3803": 8, "3h": 9, "4": [9, 10, 17, 19], "42": 6, "425": [17, 24], "48": 22, "4996": 13, "5": [5, 8, 9, 10, 12, 15, 17, 22, 24], "500": [17, 24], "5419": 12, "5454": 12, "6": [5, 9, 10, 17, 18, 22], "60": 9, "625": 12, "64": [1, 3, 5, 22], "681": 10, "698": 10, "7": 9, "730": 8, "75": 14, "8": [9, 17, 18, 22], "800": 16, "85": 9, "9": 9, "90": 14, "900": 16, "96": 9, "98": 10, "A": [10, 11, 13, 17, 19, 22], "For": [10, 12, 14, 19, 22, 24], "If": [7, 8, 17, 19], "It": [8, 12, 22], "Near": [8, 9, 12, 19], "One": 19, "Or": 24, "The": [8, 9, 10, 12, 20, 22, 26], "To": [15, 16, 24], "_abc": [1, 2, 4], "_abc_data": [1, 2, 4], "_abc_impl": [0, 1, 2, 4], "_get_adjac": [1, 5], "_is_protocol": [1, 2], "_load": [0, 1, 2, 16, 17, 24], "_make_load": [0, 1, 3], "_temporal_delta": [1, 5], "_to_devic": [0, 1, 3], "abc": [1, 4], "abi": 10, "abov": 10, "abstract": [1, 3, 4, 21], "accept": [16, 19], "accordingli": 19, "accuraci": 21, "across": [11, 13, 14, 15], "activ": [9, 15, 19], "ad": 10, "adam": [16, 17, 20, 22, 24], "add": [16, 19], "addit": 11, "adj": 5, "adjac": [2, 5, 17, 22], "administr": 14, "adopt": 8, "advanc": 10, "aerosol": 10, "after": [10, 12, 14, 16, 19], "agenc": 15, "aggreg": [13, 15, 16, 21], "ai": 17, "aim": 11, "al": [8, 10, 12, 19], "alaska": [11, 13], "algorithm": 9, "alpha": 5, "also": 12, "america": 10, "american": 10, "amount": 8, "amp": [16, 20], "an": [2, 8, 9, 15, 19, 22], "analysi": [8, 9, 10, 12, 13, 14, 15, 19], "analyz": 17, "ani": [1, 2, 3, 5, 22], "annual": 11, "anomali": [9, 10], "api": [1, 3, 17, 24], "appear": [10, 12, 15], "append": [14, 15], "appli": [5, 15, 22], "applic": [8, 12], "approxim": 15, "aqua": 9, "ar": [8, 9, 10, 11, 13, 14, 15, 20, 21, 22], "arcgi": 15, "architectur": [16, 17, 22], "archiv": [9, 10, 13, 14], "arg": [2, 5, 19], "argument": 16, "artifact": 19, "aspp": 5, "aspp_channel": 5, "assess": [8, 9, 11, 13, 14, 17, 19], "assimil": [8, 12], "associ": [9, 15], "assur": 26, "atmospher": [8, 10, 12, 19], "attribut": [8, 15], "aug": 13, "author": 17, "authorit": [15, 19], "auto": [1, 3, 20], "auto_devic": [1, 6, 20], "automat": [6, 24], "avail": [9, 10, 12, 13, 14, 19, 20, 24], "available_dataset": [0, 1, 2], "available_model": [0, 1, 5, 22], "awar": [9, 10, 17], "b": [5, 8, 13], "back": 22, "backbon": [0, 1, 12, 16, 17, 22], "background": 11, "backward": 5, "bam": 10, "band": 10, "base": [0, 1, 3, 4, 5, 9, 11, 13, 14, 15, 18], "base_channel": 5, "baselin": [8, 10, 15], "basic": [17, 19], "batch": [2, 5, 22], "batch_siz": [1, 3, 5, 17, 22], "bcewithlogitsloss": [17, 22], "becaus": 22, "begin": 14, "behavior": [8, 11, 19], "bell": 8, "below": [10, 19], "benchmark": [8, 12, 19], "berrisford": 8, "best": 10, "beta": 5, "bin": 14, "binari": [5, 17, 22], "block": 22, "boundari": 8, "box": 17, "branch": 22, "brewer": 13, "bright": 10, "broad": 12, "build": [1, 5, 17], "build_model": [0, 1, 5, 16, 17, 20, 22, 24], "builder": [0, 1, 2, 16, 22], "built": [17, 21], "bulk": [9, 11, 14], "bulletin": 10, "bundl": [1, 2, 13, 17, 22], "burn": [13, 19], "c": 5, "c00648": 14, "c3": 8, "ca": 9, "cache_dir": [1, 2], "cadenc": [8, 9, 10, 11, 12, 13, 14, 15], "calcul": 17, "call": 21, "callabl": 2, "can": [9, 10, 12, 16, 18, 22], "canada": 9, "canopi": 11, "carri": 10, "catalog": 19, "categor": 13, "caus": 15, "cd": [8, 19], "center": [14, 15], "centr": 8, "chain": 16, "chang": [8, 13, 15, 19, 22], "channel": [0, 1, 2, 10], "character": 11, "check": 19, "checkpoint": 20, "cheng": [17, 26], "choos": [6, 19], "class": [1, 2, 3, 4, 5, 10, 13, 16, 17, 20, 24], "classif": [1, 5, 13, 16, 17, 20, 22], "classificationhead": [0, 1, 5], "classificationmetr": [0, 1, 4, 16, 17, 20, 21, 24], "cli": [19, 22], "climat": [8, 12], "close": 8, "closer": 10, "cloud": 10, "cmd": 19, "cnn": [1, 5, 16, 17, 22], "cnn_aspp_build": [1, 5], "cnnpatchencod": [0, 1, 5], "code": 26, "collat": [2, 17], "collate_fn": [1, 3, 17], "collect": 16, "com": [15, 17], "combin": [8, 9], "command": 19, "common": [0, 1, 12, 21, 22, 23], "commonli": [8, 11, 12, 13, 15, 19], "commun": 26, "compat": 5, "compil": 14, "complex": [1, 3, 22], "compos": [22, 26], "comprehens": [8, 17], "comput": [0, 1, 2, 4, 16, 21], "concret": 2, "conda": 18, "confid": 9, "config": [20, 22], "consid": 7, "consist": [1, 5, 8, 11, 12], "construct": [1, 2, 22], "contain": [1, 2, 15], "content": 0, "contentrefer": 9, "context": 19, "contextu": 10, "continu": [10, 12, 13, 15, 19], "contribut": 26, "conu": [10, 11, 13], "conv_kernel": 5, "conveni": 22, "convent": 12, "coord": 14, "coordin": [8, 10, 11, 12, 13, 14], "copernicu": [8, 19], "core": [10, 12], "correl": [17, 22], "correspond": 9, "could": 19, "count": [5, 22], "counti": [2, 5, 14, 17, 22], "coupl": 22, "covari": [8, 11, 12, 19], "cover": [11, 21], "coverag": [8, 9, 10, 11, 12, 13, 14, 15], "cpu": [16, 24], "cr": [8, 9, 10, 11, 12, 13, 15], "creat": [16, 22], "credenti": 19, "critic": 10, "crop": 14, "crossentropyloss": [16, 17, 20, 24], "csiszar": 9, "csv": [9, 14, 19], "cu126": 18, "cube": 22, "cuda": [18, 20, 24], "curat": 19, "current": [2, 10, 11, 15, 19], "custom": [1, 3, 16, 17, 24], "d": [10, 12], "d2m": 22, "dai": [2, 5, 8, 9, 14, 17, 22], "daili": [8, 12, 19], "damag": 14, "danger": 8, "data": [1, 2, 3, 17, 19, 22, 24], "data_bundl": [16, 20], "databas": [14, 19], "databundl": [0, 1, 2, 16, 17, 22, 24], "dataload": [1, 3], "dataset": [0, 1, 9, 11, 13, 14, 15, 17, 22, 24], "datasplit": [0, 1, 2, 16, 17, 22, 24], "date": [8, 15, 19], "db": 14, "dd": 19, "ddp": [3, 16, 17, 20], "dedic": 26, "def": [16, 17, 22, 24], "default": [1, 5, 10, 16, 19, 20, 22], "default_build": [1, 5, 22], "defin": 19, "delai": 10, "deleg": [1, 5], "densiti": 11, "depend": [9, 10, 11, 13, 15], "deploi": 17, "depth": [1, 5, 22], "deriv": [9, 10, 11, 12, 13, 14, 19], "describ": [1, 2, 19], "descript": [0, 1, 2, 9, 14, 16, 17, 24], "descriptor": 11, "design": [17, 21], "detail": 24, "detect": [9, 10, 15, 19, 24], "determinist": 6, "develop": 8, "devic": [1, 3, 6, 17, 23, 24], "device_str": 6, "dewpoint": 8, "diagnost": [8, 10, 12], "dice": 21, "dict": [1, 2, 3, 4, 5, 22], "differenti": 22, "dilat": 5, "direct": 26, "directli": 21, "disc": 12, "discover": 22, "discoveri": 15, "disk": 10, "displai": 15, "dissemin": 10, "distanc": [17, 22], "distribut": [0, 1, 8, 9, 10, 11, 13, 15, 16], "distributedconfig": [1, 3], "disturb": 11, "dnbr": 13, "document": [12, 14, 15, 24, 26], "doi": [8, 9, 10, 11, 12, 13], "dong": 26, "download": [9, 14, 15, 18, 19], "downstream": [1, 2], "dp": 3, "driven": [16, 22], "driver": [12, 14, 19], "dropout": 5, "drought": 12, "dtype": [1, 2], "due": 14, "e": [9, 11, 12, 13, 15, 16, 19, 22], "each": [2, 9, 12, 15, 19], "earli": [9, 10, 19], "earthdata": [9, 12, 19], "earthdata_password": 19, "earthdata_usernam": 19, "earthquak": 2, "easi": [1, 2, 17], "ecmwf": [8, 19], "ecolog": [11, 13], "ecologi": 13, "ecosystem": 19, "edu": 26, "eidenshink": [13, 19], "els": 19, "emerg": 14, "enabl": [5, 20], "encod": [1, 5, 16, 17, 22], "end": [11, 12, 14, 21], "endpoint": 9, "energi": 12, "engag": 26, "engin": [0, 1, 16, 17, 22, 24], "entri": 14, "environ": [9, 18, 19, 24], "environment": [8, 10, 12, 14, 17], "era": 12, "era5": [5, 17, 19, 22], "era5t": 8, "estim": [8, 12], "et": [8, 10, 12, 19], "etc": 2, "european": 8, "evalu": [0, 1, 3, 13, 16, 17, 20, 22, 24], "event": [9, 13, 15, 19], "everi": [9, 10, 15], "evolut": 10, "evolv": 15, "exampl": [16, 17, 18], "exist": 19, "expect": 8, "experi": 19, "explicit": 19, "explicitli": 24, "export": [19, 22, 24], "expos": 19, "extend": [1, 3, 21], "extens": [17, 22], "extent": [13, 19], "extern": 5, "extra": [0, 1, 2, 17, 22], "extract": 14, "extractor": 22, "extrem": [8, 12], "ey": [17, 22], "f": 19, "factori": [1, 2], "fake": [17, 22], "fall": [15, 22], "fals": [1, 3, 5, 6, 17, 22], "familiar": [1, 3], "faster": 9, "fatal": 14, "featur": [1, 2, 5, 15, 16, 17, 22, 24], "feature_spec": [0, 1, 2, 16, 17, 22, 24], "featurespec": [0, 1, 2, 16, 17, 22, 24], "feb": 13, "fetch": 19, "field": [8, 10, 11, 12, 15], "fifth": 8, "figur": 19, "file": [9, 10, 13, 19], "final": 8, "find": 7, "fire": [9, 10, 11, 13, 15, 17, 19, 22], "fireecologi": 13, "firm": [15, 19], "first": [16, 17, 18, 24], "fit": [0, 1, 3, 16, 17, 20, 22, 24], "fix": 10, "flag": [6, 9, 19], "float": [1, 3, 4, 5, 17, 22], "flood": [2, 8, 19], "florida": 26, "flow": 19, "flux": [8, 12], "folder": 19, "follow": [7, 8], "forc": [8, 12, 19], "forecast": 8, "forest": [11, 13], "format": [8, 9, 10, 11, 12, 13, 14, 15, 19], "forward": [0, 1, 5], "framework": 17, "frequenc": [8, 9, 10, 11, 12, 13, 14, 15, 19], "from": [9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 24], "from_logit": 5, "frp": 9, "fsu": 26, "fuel": [9, 11, 13, 15, 19], "full": [10, 15, 21], "function": [2, 16, 17, 22, 24], "g": [9, 11, 12, 13, 15, 16, 19, 22], "gcn": 22, "gcn_hidden": 5, "ge": 12, "gelaro": [12, 19], "gener": [5, 8, 10, 19], "geo": 12, "geodatabas": 13, "geograph": [9, 15], "geojson": [9, 15], "geolog": 13, "geometri": 15, "geopotenti": [8, 12], "geospati": [11, 15], "geostationari": [10, 19], "geotiff": [11, 13], "get": [16, 22, 24], "get_devic": [1, 6], "get_logg": [1, 6], "get_model_config": [1, 5], "get_split": [0, 1, 2], "gi": 11, "giglio": 9, "github": 17, "given": 22, "global": [8, 9, 12, 19], "gmao": [12, 19], "goe": [15, 19], "goesr": 19, "gov": 14, "gpu": [16, 17, 20], "granul": 10, "graph": 17, "graph_col": [1, 2, 17, 22], "graphtemporaldataset": [1, 2, 17, 22], "grib": 8, "grid": [3, 8, 9, 10, 11, 12, 14, 19, 20], "griffith": 10, "ground": [10, 15, 19], "grow": 13, "growth": 10, "gru": [1, 5], "guid": 24, "gunshor": 10, "h": [5, 8], "handl": [20, 22], "hardwar": [0, 1, 20, 23], "have": 10, "hawaii": [11, 13], "hazard": [0, 1, 8, 9, 10, 11, 12, 14, 16, 17, 19, 24], "head": [0, 1, 16, 17, 22], "heat": 12, "height": [11, 12], "help": 24, "helper": [17, 20, 22, 23, 24], "hemispher": 10, "hersbach": [8, 19], "hidden": [16, 22], "hidden_dim": [1, 5, 16, 22], "high": [8, 10, 19], "highlight": 22, "histor": [8, 13, 14, 15], "hotspot": [9, 15], "hour": 9, "hourli": [8, 9, 12, 19], "how": [16, 19], "howard": 13, "hr": 10, "http": [8, 9, 10, 11, 12, 13, 14, 15, 17, 18], "humid": 12, "hurrican": [2, 12], "i": [2, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22, 26], "id": [14, 19], "ident": 22, "identifi": [15, 19], "ignit": [10, 11, 13, 15, 19], "imag": 10, "imageri": [10, 13, 19], "impact": [13, 14, 19], "implement": [2, 3, 17, 19, 24], "import": [16, 17, 19, 20, 21, 22, 24], "in_channel": [1, 5], "in_dim": [1, 5, 16, 17, 20, 22, 24], "incid": [15, 19], "includ": [8, 9, 10, 11, 12, 13, 14, 15], "index": [2, 9, 16, 17, 18], "indic": [9, 10], "individu": 13, "infer": [0, 1, 20], "inform": [9, 14, 15], "infrar": 10, "ingest": 10, "initi": [8, 9], "injuri": 14, "input": [0, 1, 2, 3, 5, 8, 12, 19, 22], "input_dim": [0, 1, 2, 5, 16, 17, 22, 24], "ins": 22, "int": [1, 2, 3, 6, 16, 22], "integr": [9, 10, 11, 13, 14, 15], "interag": [13, 15, 19], "interfac": [1, 5, 17, 21, 24], "intern": [11, 22], "interpret": 10, "inventori": [13, 19], "iou": 21, "irwin": 15, "iso": [14, 19], "iter": [1, 3], "j": [9, 10, 12, 13], "jcli": 12, "journal": [8, 11, 12], "k": 13, "keep": [1, 2, 5, 15, 22], "kei": 19, "km": [9, 10], "kml": 9, "kwarg": [1, 2, 5, 16, 22], "l": 9, "label": [1, 2, 9, 13, 14, 15, 17, 19, 22], "label_spec": [0, 1, 2, 16, 17, 22, 24], "labelspec": [0, 1, 2, 16, 17, 22, 24], "labrai": 17, "lag": 14, "lanc": 9, "land": [8, 9, 12, 14], "landfir": 19, "landsat": [13, 19], "landscap": [11, 19], "landslid": 2, "larg": [3, 20], "last": 15, "lat": [9, 10, 12], "latenc": [8, 9, 10, 11, 12, 14], "later": [8, 9], "latitud": [8, 9, 12], "layer": [8, 11, 13, 15, 16, 19, 22], "learn": [8, 11, 12, 14, 17], "least": 19, "level": [8, 9, 10, 12, 14, 15, 19], "lf": 11, "librari": 17, "lightweight": [1, 3, 5, 22], "like": [17, 22], "limit": 12, "line": 16, "linear": [16, 22], "link": 15, "list": [1, 3], "liter": 3, "load": [0, 1, 2, 16, 17, 19, 24], "load_dataset": [0, 1, 2], "loader": 2, "local": [14, 19], "locat": [9, 14, 15, 19], "log": [17, 23], "logger": 6, "logic": 3, "login": 9, "logit": [5, 17, 22], "lon": [9, 10, 12], "long": [12, 13, 19], "longer": [10, 14], "longitud": [8, 9, 12], "look": 10, "loop": [1, 3, 22], "loss": 5, "loss_fn": [1, 3, 16, 17, 20, 22, 24], "lr": [16, 17, 20, 22, 24], "m": [8, 9, 10, 11, 12, 13, 19], "machin": [8, 11, 12, 17], "mae": 21, "mai": [8, 10, 11, 13, 14, 15], "maintain": [15, 19], "mainten": 26, "make": [1, 2, 9, 19], "mamba": 5, "mamba_lay": 5, "manag": [9, 11, 14, 15, 17, 23], "map": [9, 11, 13], "mask": [1, 5], "match": 18, "materi": 19, "matrix": [17, 22], "max_epoch": [1, 3, 16, 17, 20, 22, 24], "mccarti": 12, "medium": 8, "merg": 19, "merra2": 19, "mesoscal": 10, "metadata": [0, 1, 2, 5, 9, 11, 13, 14, 15], "meteorolog": [8, 9, 10, 11, 12, 14, 15, 19], "meteorologi": [8, 12, 13, 19], "metric": [0, 1, 3, 13, 17, 20, 24], "metricbas": [0, 1, 4, 16, 21], "min": [9, 10, 15], "minim": [1, 3, 19, 22], "minut": [9, 10, 15], "mirror": [10, 19], "mix": [17, 22], "mixed_precis": [1, 3, 16, 17, 20, 22, 24], "mixtur": 8, "mlp": [1, 5, 16, 17, 20, 22, 24], "mlpbackbon": [0, 1, 5], "mm": 19, "mode": 10, "model": [0, 1, 2, 3, 8, 9, 11, 12, 13, 14, 15, 17, 19, 20, 24], "modern": [8, 12], "modi": [9, 19], "modifi": 15, "modul": [0, 16, 17, 23], "modular": [16, 17], "moistur": 12, "monitor": [9, 10, 13, 19], "month": [8, 9, 12, 14], "monthli": [12, 14], "more": [22, 24], "mosaic": 13, "most": [8, 14], "motion": 10, "mtb": 19, "multi": [1, 5, 12, 16, 17], "multipl": [9, 10, 11, 20], "multispectr": [10, 19], "my_custom_build": 22, "my_hazard": 16, "my_mlp": [16, 22], "my_model_build": 16, "myhazard": 16, "n": 5, "name": [0, 1, 2, 5, 6, 13, 15, 16, 17, 19, 20, 22, 24], "namespac": 2, "narr": 14, "nasa": [9, 12, 19], "nation": [11, 13, 14, 15], "nationwid": [11, 19], "nativ": 8, "natur": [8, 12, 17], "ncdc": 14, "ncei": 14, "need": [3, 19, 21, 22], "neighbor": 22, "netcdf": [8, 10], "netcdf4": 12, "new": [9, 10, 12, 14, 19], "next": [5, 17, 22], "nice": 19, "nifc": 15, "nn": [16, 17, 20, 22, 24], "no_grad": [17, 22], "noaa": [9, 10, 19], "noaa_flood": 19, "none": [1, 2, 3, 4, 5, 6, 17, 22], "normal": [1, 2, 16], "note": 18, "nov": 13, "npp": 9, "nrt": 9, "num_class": [1, 4, 5], "num_counti": [2, 5, 17, 22], "num_devic": [1, 6], "num_featur": [2, 5, 17, 22], "num_lay": [1, 5], "num_target": [0, 1, 2, 16, 17, 22, 24], "num_work": [1, 3], "numer": 12, "nw": 14, "oaicit": 9, "obj": [1, 3], "object": [1, 2, 3, 4], "observ": [8, 9, 10, 11, 12], "obtain": 19, "occasion": 14, "occurr": [9, 14, 15, 19], "off": 15, "offic": [12, 14], "offici": 15, "often": 19, "oliva": 9, "one": [17, 19], "ongo": 15, "onlin": 14, "onward": 13, "open": [10, 15, 19], "opendata": 15, "oper": [9, 10, 12, 15, 19], "optim": [1, 3, 16, 17, 20, 22, 24], "option": [1, 2, 5, 8, 14, 15, 16, 17, 19, 20, 22], "orbit": 9, "org": [8, 9, 10, 11, 12, 13, 18], "other": [19, 23], "otherwis": 20, "our": 26, "out": 17, "out_dim": [1, 5, 16, 17, 20, 22, 24], "outdir": 19, "output": [1, 5, 19, 22], "over": [3, 10, 21, 22], "overpass": 9, "overrid": 5, "overview": 19, "own": [16, 22], "p": [8, 9, 10], "packag": [0, 11], "page": [14, 17, 19], "pair": [14, 19], "paramet": [5, 16, 17, 20, 22, 24], "pars": 19, "particularli": [10, 14], "partner": [13, 14], "pass": [16, 21, 22], "past_dai": [2, 5, 17, 22], "patch": [1, 5, 16, 21, 22], "path": [1, 3], "pattern": [9, 15, 19], "payload": 10, "pdf": 19, "per": [5, 13, 19, 22], "perimet": [13, 15, 19], "period": [8, 12, 13, 14], "physic": 12, "pip": 18, "pipelin": [8, 9, 10, 11, 12, 15, 17, 19], "pixel": 21, "placehold": [2, 3, 20], "plain": 22, "plan": [11, 19, 26], "pleas": [7, 17, 24], "plot": 19, "plu": [1, 2, 9, 22], "point": [9, 10, 14, 15], "polar": 9, "polygon": [13, 15], "popul": [2, 13], "portal": [9, 11, 13, 15], "post": [13, 19], "potenti": 9, "power": [9, 17], "pre": [13, 19], "precipit": [8, 12], "precis": 17, "pred": [1, 4, 20], "predict": [0, 1, 3, 8, 9, 11, 12, 13, 14, 16, 17, 20, 21, 22], "prefer": [3, 6], "preliminari": 8, "prepar": 19, "preprocess": [2, 16, 19], "present": [8, 12, 13, 14], "pressur": [8, 12, 19], "previou": 11, "primari": [11, 14], "print": [17, 19, 22, 24], "prob": [17, 22], "probabl": [5, 17, 22], "process": [10, 14], "produc": [8, 11, 12, 13, 19], "product": [9, 10, 11, 12, 13, 15], "profil": 12, "program": [10, 11, 13, 19], "progress": 13, "project": [10, 11, 13], "properti": 14, "protocol": 2, "provid": [1, 2, 8, 9, 10, 11, 12, 14, 15, 16, 17, 19, 22], "prvi": 11, "public": [12, 14], "publicli": [9, 11, 13, 14, 15], "publish": [10, 12, 14], "puerto": 13, "pyhazard": [8, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 26], "pyhazards2025": 17, "pyhazards_devic": [6, 24], "python": [17, 18, 19, 24], "pytorch": [17, 18, 22], "qj": 8, "qualiti": [9, 26], "quarterli": [8, 13], "quayl": 13, "queri": 14, "quick": 17, "quickli": [19, 24], "qv2m": 19, "r": [12, 19], "radi": 9, "radianc": 10, "radiat": 8, "randint": [16, 17, 22, 24], "randn": [16, 17, 22, 24], "random": 22, "rang": 8, "rapid": [9, 10], "rare": 14, "raster": [1, 3, 5, 10, 11, 13, 17, 20, 22], "rather": 15, "raw": 19, "rdnbr": 13, "re": [19, 22], "readi": [1, 2, 17], "real": [8, 9, 10, 13, 15, 19], "reanalysi": [8, 10, 12, 14, 19], "receiv": 22, "recent": [8, 13, 14], "recommend": [18, 19], "reconcili": 15, "record": [8, 9, 10, 12, 13, 14, 15, 19], "reduc": 11, "refer": 24, "refin": 15, "refresh": [9, 10, 14, 15], "regim": [11, 13, 19], "region": 14, "regist": [2, 16, 17], "register_dataset": [0, 1, 2, 16], "register_model": [0, 1, 5, 16, 22], "registr": [22, 24], "registri": [0, 1, 16, 17, 22], "regress": [1, 2, 5, 16, 17, 22], "regressionhead": [0, 1, 5], "regressionmetr": [0, 1, 4, 21], "regular": [8, 12], "relat": [8, 10, 14, 19], "releas": [8, 11, 13], "relu": [16, 22], "remap": 10, "remot": [9, 11, 13], "remov": 15, "replac": [1, 3, 9, 17, 22], "repo": 19, "report": [14, 15, 19], "repres": 15, "represent": [9, 10, 11, 13, 14, 15], "request": 8, "requir": [9, 19], "research": [12, 17, 26], "reset": [0, 1, 4, 16, 21], "resolut": [8, 9, 10, 11, 12, 13, 14, 15], "resourc": [9, 11], "respect": 6, "respons": 26, "rest": 15, "result": [16, 17, 20, 24], "retain": 15, "retrospect": 12, "return": [1, 2, 3, 4, 5, 6, 16, 17, 22, 24], "reusabl": [2, 16, 22], "review": 26, "rico": 13, "risk": [8, 11, 17, 19], "rmse": 21, "role": [8, 10, 11, 12, 13, 14, 15], "rollin": 11, "root": 19, "rout": [9, 10], "royal": 8, "rse": 9, "rule": 15, "run": [19, 20], "same": 19, "sampl": [2, 17, 22], "satellit": [9, 10, 12, 15], "save": [19, 20], "save_checkpoint": [0, 1, 3], "scalar": [1, 5], "scale": [11, 13], "scan": 10, "scene": 19, "schmit": 10, "schroeder": [9, 19], "schwind": 13, "scienc": 9, "search": 17, "season": 13, "sector": 10, "see": [10, 19], "seed": [6, 17, 23], "seed_al": [1, 6], "segment": [1, 5, 16, 17, 22], "segmentationhead": [0, 1, 5], "segmentationmetr": [0, 1, 4, 21], "select": [19, 20, 22], "select_strategi": [1, 3], "self": [16, 17, 24], "sens": [9, 11, 13], "sensibl": 20, "sensor": 9, "sequenti": [16, 22], "seri": [1, 5, 10, 19, 22], "serv": [8, 19], "servic": [8, 9, 10, 11, 12, 13, 14, 15], "set": [5, 8, 12, 15, 19, 24], "set_adjac": [1, 5], "set_devic": [1, 6, 24], "sever": [13, 14, 19], "sfc": 19, "shape": [1, 2, 5, 17, 19, 22], "shapefil": [9, 13, 15], "ship": 22, "shot": 19, "should": [1, 2, 19], "show": 16, "shp": 9, "shuffl": [1, 3], "sigmoid": [5, 17, 22], "signal": [1, 5], "simpl": [1, 2, 5, 16, 17], "simul": 11, "singl": [1, 2, 8, 19, 20], "situat": [9, 10], "size": 15, "skin": 12, "skip": 19, "slide": [3, 20], "slidingwindowinfer": [1, 3], "slowli": 11, "smoke": [10, 19], "smooth": 5, "so": [16, 22], "societi": [8, 10], "softwar": 17, "soil": 12, "some": [9, 10, 11], "soon": 10, "sourc": [1, 2, 3, 4, 5, 6, 14, 15], "space": 22, "spatial": [5, 8, 9, 10, 11, 12, 13, 14, 15, 22], "spatio": 5, "spatiotempor": [8, 9, 12], "spec": [1, 2, 17], "specif": [1, 2, 9, 19, 22], "spectral": [10, 13], "split": [0, 1, 2, 3, 16, 17, 20, 21, 22, 24], "spread": 11, "ssm": 22, "ssr": 22, "stack": [2, 22], "stale": 15, "stamp": 9, "standard": [5, 8, 9, 12, 13], "start": [14, 17], "state": [8, 11, 12, 13, 14, 15, 22, 26], "state_dim": 5, "static": [5, 11, 19], "statist": 19, "statu": [15, 19], "stitch": 3, "store": [8, 22], "storm": [14, 19], "str": [1, 2, 3, 4, 5, 16, 22], "strateg": 26, "strategi": [1, 3, 11, 20], "stream": [9, 12], "strictli": 13, "structur": [8, 9, 10, 11, 12, 13, 14, 15, 19], "studi": [8, 12, 13, 14, 15, 19], "style": [2, 5, 12, 17, 22], "subclass": [1, 2, 16], "submodul": [0, 1], "subpackag": 0, "subprocess": 19, "subscript": 10, "suit": 11, "suitabl": 13, "summar": 19, "suomi": 9, "supervis": [9, 14], "support": [11, 13, 16, 17, 19, 20, 26], "surfac": [8, 9, 10, 12, 19], "survei": 13, "su\u00e1rez": 12, "switch": 22, "system": [8, 9, 10, 11, 12, 13, 15], "t": 10, "t2m": [19, 22], "tabl": 19, "tabular": [1, 5, 14, 17, 22], "take": 15, "target": [0, 1, 2, 3, 4, 5, 9, 11, 13, 14, 15, 16, 21, 22], "task": [1, 2, 5, 8, 16, 17, 20, 21, 22, 24], "task_typ": [0, 1, 2, 16, 17, 22, 24], "technic": 26, "temperatur": [8, 10, 12], "tempor": [2, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16], "temporalencod": [0, 1, 5], "tensor": [1, 2, 3, 5, 9, 14, 17, 22], "term": [12, 13, 19], "terra": 9, "test": [1, 2, 3, 16, 17, 20, 24], "than": 15, "thei": 10, "them": [2, 16, 22], "themat": 11, "thermal": [9, 10, 19], "thi": [1, 5, 8, 14, 16, 22, 24], "through": [9, 10, 13, 14, 15], "time": [1, 5, 8, 9, 10, 12, 13, 14, 15, 19, 22], "timestamp": [14, 15], "titl": 17, "todai": 8, "toi": 22, "tool": 11, "topographi": 13, "torch": [16, 17, 18, 20, 22, 24], "toyhazard": [17, 24], "tp": 22, "train": [1, 2, 3, 13, 17, 20, 22, 24], "train_d": 17, "train_split": [1, 3], "trainer": [0, 1, 16, 17, 20, 21, 22, 24], "transform": [0, 1, 17], "transit": 11, "treat": 15, "trend": [8, 12, 13], "true": [1, 2, 3, 5, 16, 17, 19, 20, 22, 24], "truth": [10, 15, 19], "tverski": 5, "tverskyloss": [1, 5], "two": [16, 22], "type": [1, 2, 3, 4, 5, 6, 9, 11, 14, 15, 22], "u": [9, 11, 13, 15, 19], "u10": 22, "under": [8, 19], "unifi": 17, "uniqu": 15, "unit": [11, 13, 14, 15], "univers": 26, "up": [14, 15], "updat": [0, 1, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "url": [17, 18], "us": [5, 7, 16, 17, 18, 19, 20, 22, 24], "usag": [17, 22], "usda": 13, "user": [16, 19], "usf": 19, "usg": 13, "util": [0, 1, 17, 19, 20, 24], "v": 15, "v10": 22, "val": [1, 2, 16, 17, 22, 24], "val_d": 17, "val_split": [1, 3], "valid": [8, 13, 14, 15, 19], "var": 19, "vari": [10, 11, 15], "variabl": [19, 24], "vast": 8, "vector": [9, 13, 15], "veget": [11, 19], "veri": 14, "version": [11, 12], "vertic": [8, 12], "via": [8, 11, 12, 14, 16, 17, 19, 20, 22], "view": 10, "viir": [9, 19], "visibl": 10, "visual": 19, "w": [5, 9, 12], "want": 19, "we": 18, "weather": [8, 10, 12, 14], "web": [9, 14], "week": 12, "western": 10, "wf08088": 11, "wfig": 19, "wgs84": [9, 15], "what": 19, "wheel": 18, "when": [9, 14, 19, 20], "where": [10, 14], "which": [10, 14], "whl": 18, "who": 26, "wide": [8, 9, 10, 11, 12, 13, 14, 15, 19], "wildfir": [2, 5, 8, 9, 10, 11, 12, 13, 15, 19], "wildfire_aspp_build": [1, 5], "wildfire_mamba": [17, 22], "wildfire_mamba_build": [1, 5], "wildfireaspp": [1, 5], "wildfirecnnaspp": [1, 5], "wildfiremamba": [1, 5], "wildland": [11, 15], "wind": [8, 12], "window": [2, 3, 16, 17, 20], "window_fn": 3, "with_count_head": [5, 22], "within": [9, 14], "work": [1, 3, 7, 15, 19, 22], "workflow": [10, 12, 13, 19], "wrap": [20, 22], "www": 14, "wxc": 12, "x": [1, 2, 5, 16, 17, 22, 24], "xc25": 26, "xueqi": [17, 26], "y": [2, 16, 17, 22, 24], "year": [11, 13, 15, 17], "yearli": 11, "yet": 14, "you": [7, 8, 17, 19, 22, 24], "your": [16, 17, 22], "your_password": 19, "your_usernam": 19, "yushun": 26, "yyyi": [11, 19], "yyyymmdd": 19, "z": 13, "zhu": 13, "zone": 14}, "titles": ["pyhazards", "pyhazards package", "pyhazards.datasets package", "pyhazards.engine package", "pyhazards.metrics package", "pyhazards.models package", "pyhazards.utils package", "How to Cite", "ERA5", "FIRMS", "GOES-R", "LANDFIRE", "MERRA-2", "MTBS", "NOAA Flood Events", "WFIGS", "Implementation Guide", "Wildfire Mamba (spatio-temporal toy)", "Installation", "Datasets", "Engine", "Metrics", "Models", "Utils", "Quick Start", "References", "Core Team"], "titleterms": {"2": [12, 19], "At": [8, 9, 10, 11, 12, 13, 14, 15], "academ": 25, "access": [8, 9, 10, 11, 12, 13, 14, 15], "all": 19, "backbon": 5, "base": [2, 22], "basic": 24, "build": 22, "builder": 5, "built": 22, "case": [8, 9, 10, 11, 12, 13, 14, 15], "characterist": [8, 9, 10, 11, 12, 13, 14, 15], "cite": [7, 17], "class": 21, "classif": 24, "common": 6, "compon": 17, "content": [1, 2, 3, 5, 6], "contributor": 26, "convent": 19, "core": [17, 20, 21, 22, 26], "custom": 22, "data": [8, 9, 10, 11, 12, 13, 14, 15], "dataset": [2, 16, 19], "design": 22, "develop": [19, 26], "devic": 20, "distribut": [3, 20], "engin": [3, 20], "entrypoint": 19, "era5": 8, "event": 14, "exampl": [19, 24], "fact": [8, 9, 10, 11, 12, 13, 14, 15], "firm": 9, "flood": 14, "glanc": [8, 9, 10, 11, 12, 13, 14, 15], "goe": 10, "gpu": 24, "guid": 16, "hardwar": 6, "hazard": 2, "head": 5, "how": [7, 17], "implement": 16, "indic": 17, "infer": 3, "inspect": 19, "instal": 18, "landfir": 11, "lead": 26, "maintain": 26, "mamba": [17, 22], "merra": [12, 19], "metric": [4, 16, 21], "model": [5, 16, 22], "modul": [1, 2, 3, 5, 6, 20, 22], "mtb": 13, "next": 24, "noaa": 14, "note": [19, 22], "overview": [8, 9, 10, 11, 12, 13, 14, 15], "packag": [1, 2, 3, 4, 5, 6], "princip": 26, "public": 25, "pyhazard": [0, 1, 2, 3, 4, 5, 6, 18], "quick": [8, 9, 10, 11, 12, 13, 14, 15, 24], "r": 10, "refer": [8, 9, 10, 11, 12, 13, 14, 15, 25], "regist": 22, "registri": [2, 5], "requir": 18, "skeleton": 19, "spatio": [17, 22], "start": 24, "stat": [8, 9, 10, 11, 12, 13, 14, 15], "step": 24, "submodul": [2, 3, 5, 6, 23], "subpackag": 1, "summari": [19, 20, 21, 22, 23], "support": 24, "tabl": 17, "tabular": 24, "team": 26, "tempor": [17, 22], "toi": [17, 24], "train": 16, "trainer": 3, "transform": [2, 16], "typic": [8, 9, 10, 11, 12, 13, 14, 15, 20], "us": [8, 9, 10, 11, 12, 13, 14, 15], "usag": [20, 21, 24], "util": [6, 23], "variabl": [8, 9, 10, 11, 12, 13, 14, 15], "wfig": 15, "wildfir": [17, 22]}}) \ No newline at end of file diff --git a/docs/source/pyhazards_datasets.rst b/docs/source/pyhazards_datasets.rst index 70388ad2..2bd18413 100644 --- a/docs/source/pyhazards_datasets.rst +++ b/docs/source/pyhazards_datasets.rst @@ -4,7 +4,12 @@ Datasets Summary ------- -PyHazards provides a unified dataset interface for hazard prediction across tabular, temporal, and raster data. Each dataset returns a DataBundle containing splits, feature specs, label specs, and metadata. +PyHazards maintains a curated catalog of commonly used hazard datasets and provides +dataset-specific utilities for **download / preprocessing / inspection / visualization**. + +Each dataset page describes: (1) what the dataset is, (2) how to obtain it, and (3) how to +quickly validate local data files via an inspection entrypoint (when available). + Datasets -------------------- @@ -38,53 +43,103 @@ Datasets * - :doc:`goesr ` - High-frequency geostationary multispectral imagery from the `NOAA GOES-R series `_, supporting continuous monitoring (e.g., smoke/thermal context) and early detection workflows when paired with fire and meteorology datasets. + Dataset inspection ------------------ -PyHazards provides a built-in inspection utility that allows users to -quickly explore dataset structure and contents through a unified API. +PyHazards provides dataset inspection entrypoints to quickly validate local files and produce +basic summaries/plots. + +Currently implemented: -The example below demonstrates how to inspect a daily MERRA-2 file using -the PyHazards dataset interface. +- **MERRA-2 (merra2)**: one-shot pipeline to **download raw MERRA-2 → merge SFC+PRES → inspect → save plots/tables**. .. code-block:: bash + # One command: download (if needed) -> merge -> inspect -> save outputs python -m pyhazards.datasets.inspection 20260101 -Core classes ------------- +Notes (MERRA-2) +~~~~~~~~~~~~~~~ + +- Download requires Earthdata credentials via environment variables:: + + export EARTHDATA_USERNAME="YOUR_USERNAME" + export EARTHDATA_PASSWORD="YOUR_PASSWORD" + +- Date formats accepted: ``YYYYMMDD`` (e.g., ``20260101``) or ISO ``YYYY-MM-DD``. +- Optional flags commonly used: + - ``--outdir outputs`` (default: ``outputs`` under repo root) + - ``--skip-download`` / ``--skip-merge`` for re-running on existing files + - ``--force-download`` to re-fetch raw files + - ``--var T2M`` to choose the plotted surface variable (default: ``T2M``) -- ``Dataset``: base class to implement ``_load()`` and return a ``DataBundle``. -- ``DataBundle``: holds named ``DataSplit`` objects, plus ``feature_spec`` and ``label_spec``. -- ``FeatureSpec`` / ``LabelSpec``: describe inputs/targets to simplify model construction. -- ``register_dataset`` / ``load_dataset``: lightweight registry for discovering datasets by name. Example skeleton ---------------- +A "nice" skeleton should make it explicit **what data you load** and how it flows into +**inspection/visualization**. + +Below is the recommended pattern: set ``data`` to a dataset name (e.g., ``"merra2"`` or ``"mtbs"``) +and run the dataset's inspection entrypoint accordingly. + .. code-block:: python - import torch - from pyhazards.datasets import ( - DataBundle, DataSplit, Dataset, FeatureSpec, LabelSpec, register_dataset - ) - - class MyHazardDataset(Dataset): - name = "my_hazard" - - def _load(self): - x = torch.randn(1000, 16) - y = torch.randint(0, 2, (1000,)) - splits = { - "train": DataSplit(x[:800], y[:800]), - "val": DataSplit(x[800:900], y[800:900]), - "test": DataSplit(x[900:], y[900:]), - } - return DataBundle( - splits=splits, - feature_spec=FeatureSpec(input_dim=16, description="example features"), - label_spec=LabelSpec(num_targets=2, task_type="classification"), - ) - - register_dataset(MyHazardDataset.name, MyHazardDataset) + import subprocess + + # 1) Choose what dataset you want to load/inspect + data = "merra2" # e.g., "merra2", "mtbs", "era5", "firms", "landfire", "wfigs", "goesr" (use accordingly) + + # 2) Choose the dataset key (identifier) + # - For MERRA-2, the key is a daily date: "YYYYMMDD" (e.g., "20260101") + # - For other datasets (e.g., MTBS), the key could be an event/scene id (to be defined per dataset) + key = "20260101" + + # 3) Run the inspection pipeline (download/preprocess if needed -> inspect -> visualize -> save outputs) + if data == "merra2": + cmd = [ + "python", "-m", "pyhazards.datasets.inspection", + key, + "--var", "T2M", # change variable to plot (e.g., QV2M) + "--outdir", "outputs", # output folder under repo root by default + ] + else: + # Convention for other datasets: + # provide a dataset-specific inspection entrypoint: + # python -m pyhazards.datasets..inspection ... + cmd = ["python", "-m", f"pyhazards.datasets.{data}.inspection", key, "--outdir", "outputs"] + + subprocess.run(cmd, check=True) + + # 4) After running, check outputs/ for saved artifacts (tables + plots). + # Example (MERRA-2): CSV tables for variable inventory + a PDF plot for the selected surface variable. + + +Inspection entrypoints (convention for all datasets) +---------------------------------------------------- + +Each dataset should expose a minimal inspection entrypoint that supports the same user experience: + +- **Input**: a dataset identifier (``key``) such as a date/event id. +- **Work**: download/prepare (if needed) → open files → summarize → visualize. +- **Output**: saved artifacts under ``outputs/`` (tables + figures). + +Recommended CLI shape (dataset-specific): + +.. code-block:: bash + + # Example convention (to be implemented per dataset): + python -m pyhazards.datasets..inspection --outdir outputs + + +Developer note +-------------- + +If you plan to add inspection for a new dataset, mirror the MERRA-2 inspection pattern: + +1) parse CLI args (key + outdir + skip/force flags), +2) materialize required local files (download/preprocess), +3) open files and print structure/statistics, +4) generate at least one saved visualization to ``outputs/``.