ucar.nc2.iosp.bufr.tables
Class BufrTables
java.lang.Object
ucar.nc2.iosp.bufr.tables.BufrTables
public class BufrTables
- extends Object
Reads BUFR tables of various forms. Interacts with TableLookup.
Table B:
csv----------
Class,FXY,enElementName,BUFR_Unit,BUFR_Scale,BUFR_ReferenceValue,BUFR_DataWidth_Bits,CREX_Unit,CREX_Scale,CREX_DataWidth,Status
00,000001,Table A: entry,CCITT IA5,0,0,24,Character,0,3,Operational
mel-bufr-----------
0; 7; 190; 1; -1024; 12; M; HEIGHT INCREMENT
mel-tabs (tab delimited) ---------------
#F X Y Scale RefVal Width Units Element Name
0 0 1 0 0 24 CCITT_IA5 Table A: entry
0 0 2 0 0 256 CCITT_IA5 Table A: data category description, line 1
ncep-----------
#====================================================================================================
# F-XX-YYY |SCALE| REFERENCE | BIT | UNIT | MNEMONIC ;DESC ; ELEMENT NAME
# | | VALUE |WIDTH| | ;CODE ;
#====================================================================================================
0-00-001 | 0 | 0 | 24 | CCITT IA5 | TABLAE ; ; Table A: entry
ecmwf---------
000001 TABLE A: ENTRY CCITTIA5 0 0 24 CHARACTER 0 3
000001 TABLE A: ENTRY CCITTIA5 0 0 24 CHARACTER 0 3
============
Table D:
csv----------
SNo,Category,FXY1,enElementName1,FXY2,enElementName2,Status
1,00,300002,,000002,"Table A category, line 1",Operational
mel-bufr------------
3 1 192 optional_name
0 1 7
0 25 60
0 1 33
1 1 2
3 61 169
0 5 40
-1
ncep
#====================================================================================================
# F-XX-YYY | MNEMONIC ;DCOD ; NAME <-- sequence definition
# | F-XX-YYY > | NAME <-- element definition (first thru next-to-last)
# | F-XX-YYY | NAME <-- element definition (last)
#====================================================================================================
3-00-002 | TABLACAT ; ; Table A category definition
| 0-00-002 > | Table A category, line 1
| 0-00-003 | Table A category, line 2
ecmwf-------------
300002 2 000002
000003
300003 3 000010
000011
000012
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufrTables
public BufrTables()
addLookupFile
public static void addLookupFile(String filename)
throws FileNotFoundException
- Throws:
FileNotFoundException
getLocalTables
public static BufrTables.Tables getLocalTables(BufrIdentificationSection ids)
throws IOException
- Throws:
IOException
getWmoTableB
public static TableB getWmoTableB(BufrIdentificationSection ids)
throws IOException
- Throws:
IOException
getWmoTableB
public static TableB getWmoTableB(int version)
throws IOException
- Throws:
IOException
readTableB
public static TableB readTableB(String location,
String format,
boolean force)
throws IOException
- Throws:
IOException
getWmoTableD
public static TableD getWmoTableD(BufrIdentificationSection ids)
throws IOException
- Throws:
IOException
readTableD
public static TableD readTableD(String location,
String format,
boolean force)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.