Package ucar.nc2.iosp.noaa
Class IgraPor
- java.lang.Object
-
- ucar.nc2.iosp.AbstractIOServiceProvider
-
- ucar.nc2.iosp.noaa.IgraPor
-
- All Implemented Interfaces:
Comparable<ucar.nc2.iosp.IOServiceProvider>,ucar.nc2.iosp.IOServiceProvider
public class IgraPor extends ucar.nc2.iosp.AbstractIOServiceProviderNomads IGRA files. Can open all data by opening "igra-stations.txt", with data files in subdir "igra-por". Can open single station data by opening.dat with igra-stations.txt in same or parent directory. - IGRA - Integrated Global Radiosonde Archive LOOK probably file leaks - Since:
- 3/3/11
- See Also:
- "http://www.ncdc.noaa.gov/oa/climate/igra/", "ftp://ftp.ncdc.noaa.gov/pub/data/igra"
-
-
Constructor Summary
Constructors Constructor Description IgraPor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetFileTypeDescription()StringgetFileTypeId()StringgetFileTypeVersion()ucar.ma2.StructureDataIteratorgetStructureIterator(ucar.nc2.Structure s, int bufferSize)booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)voidopen(ucar.unidata.io.RandomAccessFile raff, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask)ucar.ma2.ArrayreadData(ucar.nc2.Variable v2, ucar.ma2.Section section)-
Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
build, buildFinish, getDetailInfo, getLastModified, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebug
-
-
-
-
Method Detail
-
isValidFile
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf) throws IOException- Throws:
IOException
-
getFileTypeId
public String getFileTypeId()
-
getFileTypeDescription
public String getFileTypeDescription()
-
getFileTypeVersion
public String getFileTypeVersion()
- Specified by:
getFileTypeVersionin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getFileTypeVersionin classucar.nc2.iosp.AbstractIOServiceProvider
-
open
public void open(ucar.unidata.io.RandomAccessFile raff, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask) throws IOException- Specified by:
openin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
openin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
closein classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
readData
public ucar.ma2.Array readData(ucar.nc2.Variable v2, ucar.ma2.Section section) throws IOException- Throws:
IOException
-
getStructureIterator
public ucar.ma2.StructureDataIterator getStructureIterator(ucar.nc2.Structure s, int bufferSize) throws IOException- Specified by:
getStructureIteratorin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getStructureIteratorin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
-