|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.grib1.Grib1WriteIndex
public class Grib1WriteIndex
Creates an index for a Grib1 file; optionally makes an in-memory one.
| Constructor Summary | |
|---|---|
Grib1WriteIndex()
|
|
| Method Summary | |
|---|---|
GridIndex |
extendGribIndex(java.io.File grib,
java.io.File gbx,
java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile raf,
boolean makeIndex)
extend a Grib file index; optionally create an in-memory index. |
GridIndex |
extendGribIndex(java.io.File grib,
java.io.File gbx,
java.lang.String gribName,
java.lang.String gbxName,
boolean makeIndex)
extend a Grib file index; optionally create an in-memory index. |
boolean |
extendGribIndex(java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile inputRaf,
long rafLastModified,
java.io.DataOutputStream out)
extend a Grib file index; optionally create an in-memory index. |
static void |
main(java.lang.String[] args)
creates a Grib1 index for given Grib1 file. |
void |
setDebug(boolean flag)
|
void |
setVerbose(boolean flag)
|
GridIndex |
writeGribIndex(java.io.File grib,
java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile raf,
boolean makeIndex)
extend a Grib file index; optionally create an in-memory index. |
GridIndex |
writeGribIndex(java.io.File grib,
java.lang.String gribName,
java.lang.String gbxName,
boolean makeIndex)
create a Grib1 file index. |
boolean |
writeGribIndex(ucar.unidata.io.RandomAccessFile inputRaf,
long rafLastModified,
java.io.DataOutputStream out)
Write a Grib file index. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grib1WriteIndex()
| Method Detail |
|---|
public final GridIndex writeGribIndex(java.io.File grib,
java.lang.String gribName,
java.lang.String gbxName,
boolean makeIndex)
throws java.io.IOException
grib - as File handlegribName - gribNamegbxName - gbxNamemakeIndex - make an in-memory index if true
java.io.IOException - on Grib read
public final GridIndex writeGribIndex(java.io.File grib,
java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile raf,
boolean makeIndex)
throws java.io.IOException
grib - Grib filegbxName - Index nameraf - RandomAccessFilemakeIndex - make an in-memory index if true
java.io.IOException - on Grib file read
public final boolean writeGribIndex(ucar.unidata.io.RandomAccessFile inputRaf,
long rafLastModified,
java.io.DataOutputStream out)
throws java.io.IOException
inputRaf - GRIB file rafrafLastModified - longout - DataOutputStream
java.io.IOException - on Grib file read
public final GridIndex extendGribIndex(java.io.File grib,
java.io.File gbx,
java.lang.String gribName,
java.lang.String gbxName,
boolean makeIndex)
throws java.io.IOException
grib - as a Filegbx - as a FilegribName - as a StringgbxName - as a StringmakeIndex - make an in-memory index if true
java.io.IOException - on gbx write
public final GridIndex extendGribIndex(java.io.File grib,
java.io.File gbx,
java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile raf,
boolean makeIndex)
throws java.io.IOException
grib - as a Filegbx - as a FilegbxName - as a Stringraf - RandomAccessFilemakeIndex - make an in-memory index if true
java.io.IOException - gbx write
public final boolean extendGribIndex(java.lang.String gbxName,
ucar.unidata.io.RandomAccessFile inputRaf,
long rafLastModified,
java.io.DataOutputStream out)
throws java.io.IOException
gbxName - a GridIndex is used to extend/create a new GridIndexinputRaf - GRIB file rafrafLastModified - of the rafout - where to write
java.io.IOException - on gbx writepublic void setDebug(boolean flag)
public void setVerbose(boolean flag)
public static void main(java.lang.String[] args)
throws java.io.IOException
args - 2 if Grib file and index file name given
java.io.IOException - on raf read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||