Class: WrfLibrary::Wrf::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/wrf_library/wrf/entry.rb

Overview

Simple data class to represent an entry of the wrf station output

Instance Attribute Summary collapse

Instance Attribute Details

#air_temperatureFloat

Returns 2 m Temperature (K).

Returns:

  • (Float)

    2 m Temperature (K)



12
13
14
# File 'lib/wrf_library/wrf/entry.rb', line 12

def air_temperature
  @air_temperature
end

#cumulus_rainfallFloat

Returns rainfall from a cumulus scheme (mm).

Returns:

  • (Float)

    rainfall from a cumulus scheme (mm)



36
37
38
# File 'lib/wrf_library/wrf/entry.rb', line 36

def cumulus_rainfall
  @cumulus_rainfall
end

#explicit_rainfallFloat

Returns rainfall from an explicit scheme (mm).

Returns:

  • (Float)

    rainfall from an explicit scheme (mm)



38
39
40
# File 'lib/wrf_library/wrf/entry.rb', line 38

def explicit_rainfall
  @explicit_rainfall
end

#forecast_timeTime

Returns timestamp of the forecast data.

Returns:

  • (Time)

    timestamp of the forecast data



10
11
12
# File 'lib/wrf_library/wrf/entry.rb', line 10

def forecast_time
  @forecast_time
end

#latent_heatFloat

Returns surface latent heat flux (W/m^2, upward is positive).

Returns:

  • (Float)

    surface latent heat flux (W/m^2, upward is positive)



30
31
32
# File 'lib/wrf_library/wrf/entry.rb', line 30

def latent_heat
  @latent_heat
end

#longwaveFloat

Returns downward longwave radiation flux at the ground (W/m^2, downward is positive).

Returns:

  • (Float)

    downward longwave radiation flux at the ground (W/m^2, downward is positive)



23
24
25
# File 'lib/wrf_library/wrf/entry.rb', line 23

def longwave
  @longwave
end

#mixing_ratioFloat

Returns 2 m vapor mixing ratio (kg/kg).

Returns:

  • (Float)

    2 m vapor mixing ratio (kg/kg)



14
15
16
# File 'lib/wrf_library/wrf/entry.rb', line 14

def mixing_ratio
  @mixing_ratio
end

#pressureFloat

Returns surface pressure (Pa).

Returns:

  • (Float)

    surface pressure (Pa)



20
21
22
# File 'lib/wrf_library/wrf/entry.rb', line 20

def pressure
  @pressure
end

#sensible_heatFloat

Returns surface sensible heat flux (W/m^2, upward is positive).

Returns:

  • (Float)

    surface sensible heat flux (W/m^2, upward is positive)



28
29
30
# File 'lib/wrf_library/wrf/entry.rb', line 28

def sensible_heat
  @sensible_heat
end

#shortwaveFloat

Returns net shortwave radiation flux at the ground (W/m^2, downward is positive).

Returns:

  • (Float)

    net shortwave radiation flux at the ground (W/m^2, downward is positive)



26
27
28
# File 'lib/wrf_library/wrf/entry.rb', line 26

def shortwave
  @shortwave
end

#skin_temperatureFloat

Returns skin temperature (K).

Returns:

  • (Float)

    skin temperature (K)



32
33
34
# File 'lib/wrf_library/wrf/entry.rb', line 32

def skin_temperature
  @skin_temperature
end

#soil_temperatureFloat

Returns top soil layer temperature (K).

Returns:

  • (Float)

    top soil layer temperature (K)



34
35
36
# File 'lib/wrf_library/wrf/entry.rb', line 34

def soil_temperature
  @soil_temperature
end

#u_windFloat

Returns 10 m U wind (earth-relative).

Returns:

  • (Float)

    10 m U wind (earth-relative)



16
17
18
# File 'lib/wrf_library/wrf/entry.rb', line 16

def u_wind
  @u_wind
end

#v_windFloat

Returns 10 m V wind (earth-relative).

Returns:

  • (Float)

    10 m V wind (earth-relative)



18
19
20
# File 'lib/wrf_library/wrf/entry.rb', line 18

def v_wind
  @v_wind
end

#water_vaporFloat

Returns total column-integrated water vapor and cloud variables.

Returns:

  • (Float)

    total column-integrated water vapor and cloud variables



40
41
42
# File 'lib/wrf_library/wrf/entry.rb', line 40

def water_vapor
  @water_vapor
end