Skip to content

Commit

Permalink
Merge pull request #52 from wmo-im/synop2bufr-pypi
Browse files Browse the repository at this point in the history
pin synop2bufr in requirements.txt
  • Loading branch information
david-i-berry authored Mar 28, 2024
2 parents 4722eff + 15645bf commit cc74131
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ RUN apt-get install -y --no-install-recommends \
libgdal-dev gunicorn python3-gevent python3-gdal python3-elasticsearch libudunits2-dev dos2unix wget \
&& rm -rf /var/lib/apt/lists/*

# install pygeoapi, pywcmp, pymetdecoder, synop2bufr, csv2bufr, bufr2geojson
# install pygeoapi, pywcmp, bufr2geojson
RUN pip3 install --no-cache-dir git+https://github.com/geopython/pygeoapi.git@master \
&& pip3 install --no-cache-dir \
https://github.com/wmo-im/pywis-topics/archive/main.zip \
https://github.com/wmo-im/pywcmp/archive/master.zip \
https://github.com/wmo-im/bufr2geojson/archive/main.zip \
https://github.com/wmo-cop/pyoscar/archive/master.zip \
https://github.com/wmo-im/synop2bufr/archive/main.zip
# note: synop2bufr includes csv2bufr
https://github.com/wmo-cop/pyoscar/archive/master.zip

RUN pywcmp bundle sync

Expand Down
2 changes: 1 addition & 1 deletion docker_compose_test/tests/integration/test_wis2box.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_synop2bufr():
'messages published': 1,
'data_items': [
{
'data': 'QlVGUgABeAQAABYA/////wAAAAJuHgAH5wETBgAAAAALAAABgMGWx2AAAUsABOIAAANjQ0MDAAAAAAAAAAAAAAAIDIKCekpyoilqcnpKkigAAAAAAAAAAPzimYBA/78kmTlBBUCDB///////////////////////////+dUnxn1P///////////26vbYOl////////////////////////////////////////////////////////////////AACP/yP+T///////////////7///v9f/////////////////////////////////+J/b/gAff2/4Dz/X/////////////////////////////////////7+kAH//v6QANnH//////AAf/wAF+j//////////////v0f//////f//+/R/+////////////////////fo//////////////////3+oAP///////////////////8Nzc3Nw==', # noqa
'data': 'QlVGUgABeAQAABYAAAAAAAAAAAJuHgAH5wETBgAAAAALAAABgMGWx2AAAUsABOIAAANjQ0MDAAAAAAAAAAAAAAAIDIKCekpyoilqcnpKkigAAAAAAAAAAPzimYBA/78kmTlBBUCDB///////////////////////////+dUnxn1P///////////26vbYOl////////////////////////////////////////////////////////////////AACP/yP+T///////////////7///v9f/////////////////////////////////+J/b/gAff2/4Dz/X/////////////////////////////////////7+kAH//v6QANnH//////AAf/wAF+j//////////////v0f//////f//+/R/+////////////////////fo//////////////////3+oAP///////////////////8Nzc3Nw==', # noqa
'filename': 'WIGOS_0-20000-0-64400_20230119T060000.bufr4',
'_meta': {
'id': 'WIGOS_0-20000-0-64400_20230119T060000',
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ paho-mqtt
psycopg2
pygeometa
sqlalchemy==2.0.25
pymetdecoder-wmo==0.1.14
pymetdecoder-wmo==0.1.14
synop2bufr==0.7.0

0 comments on commit cc74131

Please sign in to comment.