Hi,I tried to compile your decoder in 64 bit mode, it seems the code in the bufrtables directory was being compiled in 32 bit mode. I created a temporary Makefile that I'll attach with changes needed to compile 64 bit mode correctly.
I tried to decode attached file but software was requesting a table that wasn't available.
% ./decode_bufr -i ../data/SurfaceForecast_L33.bufr /local/robb/bufrECMWF/bufr_000350/bufrtables/BUFR TABLES TO BE LOADED B0000000000000002000.TXT,D0000000000000002000.TXT
BUUPWT : 2200 TABLE B REFERENCE NOT FOUND. thanks for your help, Robb...=============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================
# # Makefile for bufrtables # A64 = A64 R64 = R64 ARCH = linux CNAME = _gfortran LIB = bufr # LIBRARY = ../lib$(LIB)$(R64).a # #include ../config/config.$(ARCH)$(CNAME)$(R64) include ../config/config.$(ARCH)$(CNAME)$(R64)$(A64) # include ../options/options_$(ARCH) # TARGETS = all clean # SOURCES.F= LINKS= B0000000000099010001.TXT \ D0000000000098011000.TXT \ D0000000000078011007.TXT \ B0000000000098011000.TXT \ B0000000000098010000.TXT \ B0000000000089011255.TXT \ B0000000000078011007.TXT \ D0000000000099010001.TXT \ D0000000000089012001.TXT \ D0000000000078011008.TXT \ D0000000000034011001.TXT \ B0000000000089012001.TXT \ B0000000000078011008.TXT \ B0000000000034011001.TXT \ B0000000000254010001.TXT \ D0000000000254010001.TXT \ B0000000000000002000.TXT \ D0000000000000002000.TXT \ B0000000000000007000.TXT \ D0000000000000007000.TXT \ B0000000000000008000.TXT \ D0000000000000008000.TXT \ B0000000000000009000.TXT \ D0000000000000009000.TXT \ B0000000000000010000.TXT \ D0000000000000010000.TXT \ B0000000000000011000.TXT \ D0000000000000011000.TXT \ B0000000000000012000.TXT \ D0000000000000012000.TXT \ B0000000000098007001.TXT \ D0000000000098007001.TXT \ B0000000000098008001.TXT \ D0000000000098008001.TXT \ B0000000000098009001.TXT \ D0000000000098009001.TXT \ B0000000000098010001.TXT \ D0000000000098010001.TXT \ B0000000000098011001.TXT \ D0000000000098011001.TXT \ B0000000000098012001.TXT \ D0000000000098012001.TXT # OBJECTS.F = $(SOURCES.F:.F=.o) OBJECTS.c = $(SOURCES.c:.c=.o) OBJECTS = $(OBJECTS.F) $(OBJECTS.c) # # all: links bufr2txt_tables bufr_split_tables txt2bufr_tables links: ./links.sh bufr2txt_tables: bufr2txt_tables.f $(FC) $(FFLAGS) -o bufr2txt_tables bufr2txt_tables.f $(LIBRARY) bufr_split_tables: bufr_split_tables.f $(FC) $(FFLAGS) -o bufr_split_tables bufr_split_tables.f $(LIBRARY) txt2bufr_tables: txt2bufr_tables.f $(FC) $(FFLAGS) -o txt2bufr_tables txt2bufr_tables.f $(LIBRARY) clean: \rm -f $(LINKS) *.o \rm -f bufr2txt_tables; \rm -f bufr_split_tables; \rm -f txt2bufr_tables
Attachment:
SurfaceForecast_L33.bufr
Description: Binary data