Class IgraPor

  • All Implemented Interfaces:
    Comparable<ucar.nc2.iosp.IOServiceProvider>, ucar.nc2.iosp.IOServiceProvider

    public class IgraPor
    extends ucar.nc2.iosp.AbstractIOServiceProvider
    Nomads 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"
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface ucar.nc2.iosp.IOServiceProvider

        ucar.nc2.iosp.IOServiceProvider.SortGroup
    • Field Summary

      • Fields inherited from class ucar.nc2.iosp.AbstractIOServiceProvider

        location, ncfile, raf, rafOrder
    • Constructor Summary

      Constructors 
      Constructor Description
      IgraPor()  
    • Constructor Detail

      • IgraPor

        public IgraPor()
    • 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:
        getFileTypeVersion in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        getFileTypeVersion in class ucar.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:
        open in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        open in class ucar.nc2.iosp.AbstractIOServiceProvider
        Throws:
        IOException
      • close

        public void close()
                   throws IOException
        Specified by:
        close in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        close in class ucar.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:
        getStructureIterator in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        getStructureIterator in class ucar.nc2.iosp.AbstractIOServiceProvider
        Throws:
        IOException