Package ucar.nc2.iosp.nexrad2
Class Nexrad2IOServiceProvider
- java.lang.Object
-
- ucar.nc2.iosp.AbstractIOServiceProvider
-
- ucar.nc2.iosp.nexrad2.Nexrad2IOServiceProvider
-
- All Implemented Interfaces:
ucar.nc2.iosp.IOServiceProvider
public class Nexrad2IOServiceProvider extends ucar.nc2.iosp.AbstractIOServiceProviderAn IOServiceProvider for NEXRAD level II files.
-
-
Constructor Summary
Constructors Constructor Description Nexrad2IOServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileTypeDescription()StringgetFileTypeId()intgetMaxRadials(List groups)booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)ucar.nc2.VariablemakeVariable(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, List<List<Level2Record>> groups, int rd)ucar.nc2.VariablemakeVariable(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, List<List<Level2Record>> groups, int rd, Level2VolumeScan volScan)voidmakeVariable2(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, Level2VolumeScan vScan)voidopen(ucar.unidata.io.RandomAccessFile raf, 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, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebug
-
-
-
-
Method Detail
-
isValidFile
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
-
open
public void open(ucar.unidata.io.RandomAccessFile raf, 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
-
makeVariable2
public void makeVariable2(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, Level2VolumeScan vScan)
-
getMaxRadials
public int getMaxRadials(List groups)
-
makeVariable
public ucar.nc2.Variable makeVariable(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, List<List<Level2Record>> groups, int rd)
-
makeVariable
public ucar.nc2.Variable makeVariable(ucar.nc2.NetcdfFile ncfile, int datatype, String shortName, String longName, String abbrev, List<List<Level2Record>> groups, int rd, Level2VolumeScan volScan)
-
readData
public ucar.ma2.Array readData(ucar.nc2.Variable v2, ucar.ma2.Section section) throws IOException- Throws:
IOException
-
getFileTypeId
public String getFileTypeId()
-
getFileTypeDescription
public String getFileTypeDescription()
-
-