Giter Site home page Giter Site logo

gbvalor / bufr2synop Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 11.0 73.18 MB

Decode and get meteorological reports in Traditional Alphanumeric Code format from binary BUFR.

License: GNU General Public License v2.0

C 97.21% CMake 1.18% Makefile 0.70% M4 0.13% Shell 0.78%

bufr2synop's People

Contributors

767160 avatar gbvalor avatar ilblog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bufr2synop's Issues

bufr2synop cant open bufr tables

Hi

First of all, thank you very much for creating and publishing this nice piece of software.
I have heroically compiled bufr2synop under OS X, but I am unable to make it run.

I use bufr2synop -V -t /usr/local/lib/bufrtables/ -i 20160530104540_ISSH16_EGRR_301000.bufr command, where bufrtables dir contains all ECMWF bufr tables.

The result is

 open error on /home/ma/emos/tables/bufr/text/000396/B0000000000000022000.TXT
KERR=61
Unable to open table C file '/Users/ivo/utils/bufrdump/mastertables/C0000000000000019000.TXT'
Cannot read C Table  File

trying to find the bug myself, I have ended on a fact, that I was not able to locate /home/ma/emos/ string in the source codes.

Any help would be highly appreciated

Compilation error ...

Hi,

I have a conpilation error but i don't find the provenance :

//usr/local/lib/libbufr.a(buevar.o): In function buevar_':
buevar.F:(.text+0xa8b): undefined reference to emosnum_' //usr/local/lib/libbufr.a(buexs4.o): In function buexs4_':
buexs4.F:(.text+0x9f7): undefined reference to gbyte_' buexs4.F:(.text+0xbca): undefined reference to gbyte_'
buexs4.F:(.text+0xc35): undefined reference to gbyte_' //usr/local/lib/libbufr.a(bunpck.o): In function bunpck_':
bunpck.F:(.text+0x48): undefined reference to gbyte_' //usr/local/lib/libbufr.a(bunpks.o): In function bunpks_':
bunpks.F:(.text+0x5b): undefined reference to gbytes_' //usr/local/lib/libbufr.a(bupks.o): In function bupks_':
bupks.F:(.text+0x7b): undefined reference to sbytes_' //usr/local/lib/libbufr.a(burqc.o): In function burqc_':
burqc.F:(.text+0x10dc): undefined reference to gbyte_' burqc.F:(.text+0x2503): undefined reference to gbyte_'
//usr/local/lib/libbufr.a(burquc.o): In function burquc_': burquc.F:(.text+0xe97): undefined reference to gbyte_'
burquc.F:(.text+0x1480): undefined reference to gbyte_' burquc.F:(.text+0x2f73): undefined reference to gbytes_'
//usr/local/lib/libbufr.a(busrp.o): In function busrp_': busrp.F:(.text+0x5a8): undefined reference to gbyte_'
//usr/local/lib/libbufr.a(buuatb.o): In function buuatb_': buuatb.F:(.text+0x5bf): undefined reference to gbyte_'
buuatb.F:(.text+0x5ed): undefined reference to gbyte_' buuatb.F:(.text+0x7ca): undefined reference to gbyte_'
//usr/local/lib/libbufr.a(buunps.o): In function buunps_': buunps.F:(.text+0x8d): undefined reference to gbytes_'
//usr/local/lib/libbufr.a(busbytesR8.o): In function busbytesr8_': busbytesR8.F:(.text+0x3): undefined reference to sbytes_'
//usr/local/lib/libbufr.a(busbytesR4.o): In function busbytesr4_': busbytesR4.F:(.text+0x3): undefined reference to sbytes_'
//usr/local/lib/libbufr.a(bugetbm.o): In function bugetbm_': bugetbm.F:(.text+0x257): undefined reference to gbytes_'
collect2: error: ld returned 1 exit status
Makefile:422: recipe for target 'bufr2synop' failed
make[3]: *** [bufr2synop] Error 1
make[3]: Leaving directory '/home/test/bufr2synop/src/apps'
Makefile:341: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ''/home/test/bufr2synop/src'
Makefile:386: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ''/home/test/bufr2synop'
Makefile:317: recipe for target 'all' failed
make: *** [all] Error 2
`
Can you help me ?

I thank you in advance.

Regards.

Major Project

Please reach out to me, I believe you may have the skill set needed to create needed software beyond METARS. There is currently an opportunity to get on a major aviation project utilizing weather data.

[email protected]

Thank You!

Not an issue, but an idea for improvement

Hi,
Thank you for the nice routines for decoding BUFR into old fashoned human readable SYNOP telegram! However, I find downloding the NOAA bin files is a huge disadvantage as it requires to download >99% that is of no use at all.
I have tried to download original, unaltered bufr files from elsewhere and used your bufttotac program. Running bufertotac, with the debugging flag, it says that the message does not start with ”BUFR”. To remove everything before the BUFR string is easily done with an awk script. Running bufrtotac again now gives the message that it does not end with ”7777”. So I checked the end of your example files and some bin files from NOAA, extracted with bufrnoaa, with a hex-editor and I see that my files have an extra byte at the end. If i chop this of in a script of then your bufrtotac runs smoothly and gives the desired result.
Rgds,
Judith Larson

bufr2synop

Hello,
I'm a PHP programmer and also meteorologist.
I'm searching for a tool which can allow me to convert bufr to synop (alphanumeric format) using PHP language or javascript, for my php web application. As i see, this solution is coded in C language. Can you help please to find any solution to convert bufr in alphanumeric format using PHP language ?

Thank you very much,

Olivier Tamno

[email protected]

bufrdc lib from ECMWF intstalled and works, but configure won't run

Hi,

I have tried to install your bufr2synop on both Centos 7 (64 bit) and Ubuntu 15.04 (64 bit), but fail when running the configure script (from bash or from c-shell).

The script stops stating: "configure: error: "You must install ECMWF bufrdc library"

I have installed the ECMWF bufrdc_000405 library and that is working perfectly well both for ECMWF's own software and for the Norwegian Met. Office's software that both uses the bufrdc library.

Can you please give some hint?

Thanks,
Steffo S.
Thailand

error: "You must install ECMWF bufrdc library"

HI I am having issues installing bufr2synop.

I have installed the ECMWF burfdc library to /usr/lib, and can see a libbufr.a file there...
However I still get the following error message when trying to sudo ./configure:

checking for bufrread in -lbufr... no
configure: error: "You must install ECMWF bufrdc library"

the bufrdc version I installed was the latest available..bufrdc_000405.tar.gz

Thanks for any help you can give

Message do not begin with 'BUFR'

Hi,

I have installed bufrdc library and bufr2synop successfully and was able to decode the bufr reports available under bufr2synop/example but when I download real time bufr report of Surface observation and try to decode using bufr2synop I see the error message "File do not begin with 'BUFR'" I think this is happening because the first line in real time bufr reports start with header for eg. ISMD21 OPKC 190600 and the actual bufr message starts from second line. Is there any way we can skip the first line and start decoding from second line?

Thanks,

Kashif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.