{
  "checked_date": "2026-09-05",
  "status": "official_full_chain_reference_reproduced",
  "site_prediction": false,
  "scope": "End-to-end EPA sample: raw NED terrain and raw surface/upper-air/onsite weather through native AERMAP 24142 and AERMET 26135 to AERMOD 26135; no Woodfibre inputs",
  "preprocessing": {
    "status": "matched",
    "numeric_tokens_compared": 1548715,
    "maximum_absolute_numeric_difference": 0.0,
    "comparison_file": "outputs/woodfibre-preprocessing-reference-comparison.json",
    "run_metadata": {
      "aermap": [
        {
          "stage": "aermap",
          "started_utc": "2026-09-05T16:47:11.334355+00:00",
          "finished_utc": "2026-09-05T16:47:14.993244+00:00",
          "elapsed_seconds": 3.6587764579999997,
          "exit_code": 0,
          "binary": "build/aermap-native-24142/aermap",
          "binary_sha256": "758c48265304f8021a01cb3ef313cf7510999eeaf7845f9a55c3ab7ff78745c2",
          "arguments": []
        }
      ],
      "aermet": [
        {
          "stage": "aermet-stage1",
          "started_utc": "2026-09-05T16:47:35.174644+00:00",
          "finished_utc": "2026-09-05T16:47:37.477845+00:00",
          "elapsed_seconds": 2.303097667,
          "exit_code": 0,
          "binary": "build/aermet-native-26135/aermet",
          "binary_sha256": "986f43e580c53e391a49ce509b2c4543f601e0c2ec27692c2ed5379d53afc75d",
          "arguments": [
            "aermet1.inp"
          ]
        },
        {
          "stage": "aermet-stage2",
          "started_utc": "2026-09-05T16:47:37.479931+00:00",
          "finished_utc": "2026-09-05T16:47:42.083875+00:00",
          "elapsed_seconds": 4.6038562910000005,
          "exit_code": 0,
          "binary": "build/aermet-native-26135/aermet",
          "binary_sha256": "986f43e580c53e391a49ce509b2c4543f601e0c2ec27692c2ed5379d53afc75d",
          "arguments": [
            "aermet2.inp"
          ]
        }
      ]
    }
  },
  "integration": {
    "status": "matched",
    "numeric_tokens_compared": 11026,
    "maximum_absolute_numeric_difference": 0.0,
    "comparison_file": "outputs/woodfibre-aermod-integration-comparison.json",
    "run_metadata": {
      "command": [
        "/Users/mk/Documents/Codex/2026-09-05/so/work/epa-model/build/native-26135/aermod"
      ],
      "cwd": "/Users/mk/Documents/Codex/2026-09-05/so/work/epa-model/runs/sample-full-chain/integration/AERMOD",
      "started_utc": "2026-09-05T16:49:03.785724+00:00",
      "finished_utc": "2026-09-05T16:49:06.660758+00:00",
      "elapsed_seconds": 2.874898167,
      "exit_code": 0,
      "executable_sha256": "e7cb9a1f69a8697a0e5a6f35fe03d8b1b484aa9b24c721cefffbd8b864298163"
    }
  },
  "numeric_tokens_compared_all_stages": 1559741,
  "elapsed_model_seconds_all_stages": 13.440628583,
  "builds": {
    "aermap": {
      "version": "24142",
      "compiler": "GNU Fortran (GCC) 14.4.0\nCopyright (C) 2024 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.  There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n",
      "flags": [
        "-fbounds-check",
        "-Wuninitialized",
        "-O2"
      ],
      "executable_format": "aermap: Mach-O 64-bit executable arm64",
      "executable_sha256": "758c48265304f8021a01cb3ef313cf7510999eeaf7845f9a55c3ab7ff78745c2",
      "compiler_warnings": 4,
      "linker_warnings": 2,
      "log_file": "work/epa-model/logs/build-aermap-native.log"
    },
    "aermet": {
      "version": "26135",
      "compiler": "GNU Fortran (GCC) 14.4.0\nCopyright (C) 2024 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.  There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n",
      "flags": [
        "-fcheck=all",
        "-Wall",
        "-Wextra",
        "-O2",
        "-Wno-compare-reals",
        "-Wno-character-truncation",
        "-std=f2008",
        "-ffree-form"
      ],
      "executable_format": "aermet: Mach-O 64-bit executable arm64",
      "executable_sha256": "986f43e580c53e391a49ce509b2c4543f601e0c2ec27692c2ed5379d53afc75d",
      "compiler_warnings": 70,
      "linker_warnings": 2,
      "log_file": "work/epa-model/logs/build-aermet-native.log"
    }
  },
  "source_audit": [
    {
      "archive": "aermap_source_24142.zip",
      "official_source_files_checked": 25,
      "official_source_unchanged": true
    },
    {
      "archive": "aermet_source_26135.zip",
      "official_source_files_checked": 12,
      "official_source_unchanged": true
    }
  ],
  "downloads": [
    {
      "file": "work/epa-model/downloads/aermap_source_24142.zip",
      "url": "https://gaftp.epa.gov/Air/aqmg/SCRAM/models/related/aermap/aermap_source.zip",
      "bytes": 201204,
      "sha256": "4b34b39fe0039db114e3e78e3b6faa4797a5f8ee8ca0771db030a9b93ab3bed6",
      "archive_files": [
        "aermap_source_code_24142/",
        "aermap_source_code_24142/aermap.f",
        "aermap_source_code_24142/aermap_mcbs.txt",
        "aermap_source_code_24142/gfortran-aermap-32bit.bat",
        "aermap_source_code_24142/gfortran-aermap-64bit.bat",
        "aermap_source_code_24142/intel-aermap.bat",
        "aermap_source_code_24142/mod_main1.f",
        "aermap_source_code_24142/mod_tifftags.f",
        "aermap_source_code_24142/sub_calchc.f",
        "aermap_source_code_24142/sub_chkadj.f",
        "aermap_source_code_24142/sub_chkext.f",
        "aermap_source_code_24142/sub_cnrcnv.f",
        "aermap_source_code_24142/sub_demchk.f",
        "aermap_source_code_24142/sub_demrec.f",
        "aermap_source_code_24142/sub_demsrc.f",
        "aermap_source_code_24142/sub_domcnv.f",
        "aermap_source_code_24142/sub_initer_dem.f",
        "aermap_source_code_24142/sub_initer_ned.f",
        "aermap_source_code_24142/sub_nadcon.f",
        "aermap_source_code_24142/sub_nedchk.f",
        "aermap_source_code_24142/sub_read_tifftags.f",
        "aermap_source_code_24142/sub_reccnv.f",
        "aermap_source_code_24142/sub_recelv.f",
        "aermap_source_code_24142/sub_srccnv.f",
        "aermap_source_code_24142/sub_srcelv.f",
        "aermap_source_code_24142/sub_utmgeo.f"
      ]
    },
    {
      "file": "work/epa-model/downloads/aermet_source_26135.zip",
      "url": "https://gaftp.epa.gov/Air/aqmg/SCRAM/models/met/aermet/aermet_source.zip",
      "bytes": 374757,
      "sha256": "11b0f7efaaa384fe20651d6553aed6c3604803f0a3e8bd103b925e88f7088686",
      "archive_files": [
        "aermet.f90",
        "gfortran-aermet_allwarn.bat",
        "intel_aermet.bat",
        "mod_file_units.f90",
        "mod_main1.f90",
        "mod_misc.f90",
        "mod_onsite.f90",
        "mod_pbl.f90",
        "mod_read_input.f90",
        "mod_reports.f90",
        "mod_surface.f90",
        "mod_upperair.f90"
      ]
    }
  ],
  "new_download_bytes": 575961,
  "preprocessing_input_manifest": {
    "case": "EPA Martin's Creek 1992\u20131993 sample, July 2026 archive",
    "aermap_version_expected": "24142",
    "aermet_version_expected": "26135",
    "site": "EPA reference case, not Woodfibre",
    "changes": [
      "Filename capitalization only; control-file and raw-data bytes unchanged"
    ],
    "comparison_criterion_declared_before_run": {
      "primary": "Require equality at all printed numeric fields and normalized nonnumeric content",
      "normalizations": [
        "Generated wall-clock run dates and times",
        "Line endings and whitespace",
        "Numeric formatting (including signed zero)"
      ],
      "secondary": "If printed fields differ, report field-specific differences; do not silently claim exact reproduction",
      "regulatory_acceptance_criterion": false
    },
    "inputs": [
      {
        "component": "AERMAP",
        "original": "reference/SampleRun/AERMAP/aermap.inp",
        "staged": "runs/sample-full-chain/AERMAP/aermap.inp",
        "bytes": 1093,
        "sha256": "1ba034447cf10398e108c58670a21a8ef2e1bcc4a2d2d773d0c8cb5d2d824b4b",
        "content_modified": false
      },
      {
        "component": "AERMAP",
        "original": "reference/SampleRun/AERMAP/newark-w.tif",
        "staged": "runs/sample-full-chain/AERMAP/NEWARK-W.TIF",
        "bytes": 52208457,
        "sha256": "59cc15453f9c3ef988bd8cf7e7f9e7070f756fe501a0d5cc24aa24946986431b",
        "content_modified": false
      },
      {
        "component": "AERMAP",
        "original": "reference/SampleRun/AERMAP/newark-e.tif",
        "staged": "runs/sample-full-chain/AERMAP/NEWARK-E.TIF",
        "bytes": 52208457,
        "sha256": "b2ac2d3776d8718d579c434f6bcbb5c6d8b303b3491c973c09f1d2e4af3c4a66",
        "content_modified": false
      },
      {
        "component": "AERMET",
        "original": "reference/SampleRun/AERMET/aermet1.inp",
        "staged": "runs/sample-full-chain/AERMET/aermet1.inp",
        "bytes": 1942,
        "sha256": "11fd84a89539576c140cdac518564e13d8a473a966b922a5ed388ded2d8f44e2",
        "content_modified": false
      },
      {
        "component": "AERMET",
        "original": "reference/SampleRun/AERMET/aermet2.inp",
        "staged": "runs/sample-full-chain/AERMET/aermet2.inp",
        "bytes": 1464,
        "sha256": "ec8aa860beb3806e9f06bafd390cd139c7923d5f6c5d6aefa0d313fa3182c3b1",
        "content_modified": false
      },
      {
        "component": "AERMET",
        "original": "reference/SampleRun/AERMET/14735-92.fsl",
        "staged": "runs/sample-full-chain/AERMET/14735-92.fsl",
        "bytes": 3766779,
        "sha256": "1eb839764925fc67dfa71a2d646593f9ebd63c8e10804c839889a479239791c7",
        "content_modified": false
      },
      {
        "component": "AERMET",
        "original": "reference/SampleRun/AERMET/14737.DAT",
        "staged": "runs/sample-full-chain/AERMET/14737.dat",
        "bytes": 779328,
        "sha256": "77c43252fbed193c6069de5157fc7f783114610562449716d60fa45769ebaf34",
        "content_modified": false
      },
      {
        "component": "AERMET",
        "original": "reference/SampleRun/AERMET/MCOSPFL.DAT",
        "staged": "runs/sample-full-chain/AERMET/mcospfl.dat",
        "bytes": 4220928,
        "sha256": "35614df90ef48fe8ec10af196dc3fa66c66e97563d89b1b43dd379dfc78834bc",
        "content_modified": false
      }
    ]
  },
  "integration_input_manifest": {
    "scope": "End-to-end EPA sample: raw NED terrain and raw surface/upper-air/onsite weather through native AERMAP 24142 and AERMET 26135 to AERMOD 26135; no Woodfibre inputs",
    "preprocessor_outputs_generated_locally": true,
    "files": [
      {
        "source": "reference/SampleRun/AERMOD/aermod.emi",
        "staged": "AERMOD/aermod.emi",
        "sha256": "795c4d7d205170d3c1fe553d6cb609220c150980dff4597bf7db5c5d83fc8bbc"
      },
      {
        "source": "runs/sample-full-chain/AERMAP/aermap.rec",
        "staged": "AERMAP/aermap.rec",
        "sha256": "1a480c0c69b2d4d00fa689e798d25d7b3f335d20c0af141000d2b062e16969c6"
      },
      {
        "source": "runs/sample-full-chain/AERMET/aermet.sfc",
        "staged": "AERMET/aermet.sfc",
        "sha256": "c7272c13bba71023836019035ef6c07c2a641eecc30a67a529eb69bd6a5482d7"
      },
      {
        "source": "runs/sample-full-chain/AERMET/aermet.pfl",
        "staged": "AERMET/aermet.pfl",
        "sha256": "46c630077903c5b48d24faa6d65ed308de726d0fba9ad63a6f5614a2af9dd177"
      }
    ],
    "input_changes": [
      [
        "..\\aermap\\aermap.REC",
        "../AERMAP/aermap.rec"
      ],
      [
        "..\\aermet\\aermet.sfc",
        "../AERMET/aermet.sfc"
      ],
      [
        "..\\aermet\\aermet.pfl",
        "../AERMET/aermet.pfl"
      ]
    ],
    "source_values_changed": false,
    "newline_change": "CRLF to LF in staged AERMOD control only",
    "original_input_sha256": "ea3279245e3993864989e25ad4992647a61252e9df9c0327a003e2e62634e0c6",
    "staged_input_sha256": "e03b0dfedea5b4414510345036132b3581335256caf9485f967c7545954c8eff",
    "comparison_rule_defined_before_run": {
      "concentration_absolute_tolerance_ug_m3": 1e-05,
      "concentration_relative_tolerance": 1e-06,
      "rule": "abs(test-reference) <= max(absolute_tolerance, relative_tolerance*abs(reference))",
      "status": "Project reference-reproduction tolerance; not regulatory or site-validation criterion"
    }
  },
  "aermet_diagnostics": {
    "aermet_stage1": {
      "error": 0,
      "warning": 114,
      "information": 22,
      "qa": 43620,
      "reports_reference_matched": false,
      "reason": "EPA sample archive supplies final .sfc/.pfl references, not .rpt/.msg references"
    },
    "aermet_stage2": {
      "error": 0,
      "warning": 765,
      "information": 1280,
      "qa": 0,
      "reports_reference_matched": false,
      "reason": "EPA sample archive supplies final .sfc/.pfl references, not .rpt/.msg references"
    }
  },
  "aermod_diagnostic_severity_counts": {
    "E": 0,
    "W": 84,
    "I": 72
  },
  "not_established": [
    "Other terrain/weather file formats",
    "AERSURFACE execution",
    "AERSCREEN/MAKEMET execution",
    "CALMET/CALPUFF readiness",
    "Woodfibre predictions",
    "Site field validation"
  ],
  "official_sample_originals_audit": {
    "official_sample_archive_files_checked": 24,
    "official_reference_and_raw_input_bytes_unchanged": true,
    "files": [
      "SampleRun/AERMAP/aermap.inp",
      "SampleRun/AERMAP/aermap_ORG.rec",
      "SampleRun/AERMAP/aermap_ORG.src",
      "SampleRun/AERMAP/DOMDETAIL_ORG.OUT",
      "SampleRun/AERMAP/MAPDETAIL_ORG.OUT",
      "SampleRun/AERMAP/MAPPARAMS_ORG.OUT",
      "SampleRun/AERMAP/newark-e.dem",
      "SampleRun/AERMAP/newark-e.tif",
      "SampleRun/AERMAP/newark-w.dem",
      "SampleRun/AERMAP/newark-w.tif",
      "SampleRun/AERMET/14735-92.fsl",
      "SampleRun/AERMET/14737.DAT",
      "SampleRun/AERMET/aermet1.inp",
      "SampleRun/AERMET/aermet2.inp",
      "SampleRun/AERMET/aermet_ORG.pfl",
      "SampleRun/AERMET/aermet_ORG.sfc",
      "SampleRun/AERMET/MCOSPFL.DAT",
      "SampleRun/AERMOD/aermod.emi",
      "SampleRun/AERMOD/aermod.inp",
      "SampleRun/AERMOD/aermod_ORG.out",
      "SampleRun/AERMOD/aermod_ORG.sum",
      "SampleRun/AERMOD/ERRORS_ORG.OUT",
      "SampleRun/AERMOD_Sample_Run_Instructions.pdf",
      "SampleRun/ReadMeForFilesExplained.txt"
    ]
  }
}
