gbvalor / bufr2synop Goto Github PK
View Code? Open in Web Editor NEWDecode and get meteorological reports in Traditional Alphanumeric Code format from binary BUFR.
License: GNU General Public License v2.0
Decode and get meteorological reports in Traditional Alphanumeric Code format from binary BUFR.
License: GNU General Public License v2.0
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
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.
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.
Thank You!
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
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
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
Sorry for abusing the "issues" mechanism to reach @gbvalor .
This was my initial message, maybe the old source is still around, thank you!
Hi Guillermo,
do you still have the source for the program you used to search for NTT primes here:
https://www.mersenneforum.org/showthread.php?t=1081
Which was here at some point:
ftp://ftp.oxixares.com/pub/glucas/ilucas-0.1.tar.gz
Thank you,
Mihai
I still have an overflow with the following file:
20221005125057_IUSG01_WSSS_051200.zip
I can't find where it comes from. It is not fixed by PR #12 and #13
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
Hi,
There is a segfault in decoding the attached file using bufrtotac
Sincelery
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.