Class GetWAFSData
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.GetWAFSData
- All Implemented Interfaces:
Closeable,AutoCloseable
A Data Access Object to load WAFS GRIB2 winds aloft data. The field format for the GRIB file is located
at
}
invalid @link
{@link "https://www.nco.ncep.noaa.gov/pmb/products/gfs/gfs.t00z.pgrb2.0p25.f000.shtml"
- Since:
- 5.2
- Version:
- 11.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Finalizer to clean up the file handle.load(PressureLevel lvl) Loads GFS wind/temperature data for a given Pressure Level.Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
-
Constructor Details
-
GetWAFSData
Initializes the Data Access Object.- Parameters:
file- the GRIB2 file name
-
-
Method Details
-
load
Loads GFS wind/temperature data for a given Pressure Level.- Parameters:
lvl- the PressureLevel- Returns:
- a GRIBResult object
- Throws:
DAOException- if an I/O error occurs
-
close
public void close()Finalizer to clean up the file handle.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-