nsrdb.data_model.gfs.GfsVarSingle

class GfsVarSingle(fpath)[source]

Bases: object

Handler single-file/single-timestep GFS data extraction.

Parameters:

fpath (str) – Path to a single timestep GFS file

Methods

Attributes

datasets

Get the list of dataset names in the GFS files.

timestep

File timestep in UTC

units

Get a dict lookup of GFS datasets and source units

wind_direction

10m Wind Direction

wind_speed

10m Wind speed

property datasets

Get the list of dataset names in the GFS files.

Returns:

list

property units

Get a dict lookup of GFS datasets and source units

Returns:

dict

property timestep

File timestep in UTC

Returns:

TimeStamp

property wind_speed

10m Wind speed

Returns:

ndarray

property wind_direction

10m Wind Direction

Returns:

ndarray