Class UF2RadialAdapter

    • Constructor Detail

      • UF2RadialAdapter

        public UF2RadialAdapter()
      • UF2RadialAdapter

        public UF2RadialAdapter​(NetcdfDataset ds)
        Constructor.
        Parameters:
        ds - must be from nexrad2 IOSP
    • Method Detail

      • isMine

        public Object isMine​(FeatureType wantFeatureType,
                             NetcdfDataset ncd,
                             Formatter errlog)
        Description copied from interface: FeatureDatasetFactory
        Determine if the factory can open this dataset as an instance of the given feature type
        Parameters:
        wantFeatureType - can factory open as this feature type? If null, can factory open as any feature type?
        ncd - examine this NetcdfDataset.
        errlog - place errors here
        Returns:
        "analysis object" - null if cannot open, else an Object that is passed back into FeatureDatasetFactory.open(). This allows expensive analysis results to be reused
      • open

        public FeatureDataset open​(FeatureType ftype,
                                   NetcdfDataset ncd,
                                   Object analysis,
                                   CancelTask task,
                                   Formatter errlog)
        Description copied from interface: FeatureDatasetFactory
        Open a NetcdfDataset as a FeatureDataset. Should only be called if isMine() returns non-null.
        Parameters:
        ftype - open as this feature type. If null, open as any feature type.
        ncd - an already opened NetcdfDataset.
        analysis - the object returned from isMine(). Likely given to a different instance of FeatureDatasetFactory
        task - user may cancel, may be null
        errlog - write error messages here, may be null
        Returns:
        a subclass of FeatureDataset
      • getScientificDataType

        public FeatureType getScientificDataType()
      • getCommonOrigin

        public EarthLocation getCommonOrigin()
        Description copied from interface: RadialDatasetSweep
        If all sweeps have the same origin, return it here, else null
        Returns:
        common origin, or null
      • getRadarID

        public String getRadarID()
        Returns:
        radar id
      • getRadarName

        public String getRadarName()
        Returns:
        radar name
      • getDataFormat

        public String getDataFormat()
        Returns:
        data format
      • isVolume

        public boolean isVolume()
        Description copied from interface: RadialDatasetSweep
        Get the basic property of Radar,
        Returns:
        0 if there is only one sweep
      • isStationary

        public boolean isStationary()
        Description copied from interface: RadialDatasetSweep
        Stationary versus moving radar.
        Returns:
        true if this is stationary.
      • clearDatasetMemory

        public void clearDatasetMemory()
        Description copied from interface: RadialDatasetSweep
        Remove cached data, if any.
      • getInfo

        public String getInfo()