Skip to content

Commit

Permalink
Merge pull request #185 from akrherz/bufr_synop
Browse files Browse the repository at this point in the history
Initial swing at BUFR surface ingest
  • Loading branch information
akrherz authored Dec 6, 2023
2 parents b4642ac + d9e761d commit 77275b1
Show file tree
Hide file tree
Showing 17 changed files with 618 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ util/rabbitmq.json
**/ridge_processor.pid
/goes/*.nc
.coverage
coverage.xml
.eggs/
parsers/pywwa.egg-info/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.5"
rev: "v0.1.7"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
6 changes: 5 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@ dependencies:
- ncurses
- netCDF4
- numpy
# Temporary until my breakage clears
- openssl <3.2
- pandas
# geoplot usage
- pillow
- pint
- psycopg
# Transient via pyIEM
- pyarrow
# BUFR processing
- pybufrkit
# Models
- pydantic
# gini reader
Expand All @@ -48,4 +52,4 @@ dependencies:
- treq
- twisted
- xarray


Binary file added examples/BUFR/ISAB02_CWAO.bufr
Binary file not shown.
Binary file added examples/BUFR/ISIA14_CWAO.bufr
Binary file not shown.
Binary file added examples/BUFR/ISMA01_FNLU.bufr
Binary file not shown.
Binary file added examples/BUFR/ISMA01_FNLU_badid.bufr
Binary file not shown.
Binary file added examples/BUFR/ISMI60_SBBR.bufr
Binary file not shown.
Binary file added examples/BUFR/ISND01_LEMM.bufr
Binary file not shown.
Binary file added examples/BUFR/ISXD03_EDZW.bufr
Binary file not shown.
Binary file added examples/BUFR/ISXT14_EGRR.bufr
Binary file not shown.
Binary file added examples/BUFR/IS_2023120401.bufr
Binary file not shown.
6 changes: 6 additions & 0 deletions parsers/bufr_surface.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Process BUFR (^IS WMO header) data as it comes."""
# Local
from pywwa.workflows.bufr_surface import main

if __name__ == "__main__":
main()
Loading

0 comments on commit 77275b1

Please sign in to comment.