Versions in this module Expand all Collapse all v0 v0.7.1 Jan 17, 2024 Changes in this version + type Origin string + const OriginCalculated + const OriginEstimated + const OriginMeasured + type PrecipTypeMeasure string + const PrecipTypeMeasureFreezingRain + const PrecipTypeMeasureNo + const PrecipTypeMeasureRain + const PrecipTypeMeasureSleet + const PrecipTypeMeasureSnow + const PrecipTypeMeasureYes + type WindSensorHeight int + const WindSensorHeight10 + const WindSensorHeight6 v0.7.0 Jan 16, 2024 Changes in this version + func ObjectType() trv.ObjectType + type Aggregated struct + func (x *Aggregated) Precipitation() *PrecipitationConditionAggregated + func (x *Aggregated) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Aggregated) Wind() *WindConditionAggregated + type AirCondition struct + func (x *AirCondition) CloudFree() *bool + func (x *AirCondition) Dewpoint() *Celsius + func (x *AirCondition) RelativeHumidity() *Percentage + func (x *AirCondition) Temperature() *Celsius + func (x *AirCondition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *AirCondition) VisibleDistance() *Meters + type Celsius struct + func (x *Celsius) Origin() *string + func (x *Celsius) SensorNames() *string + func (x *Celsius) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Celsius) Value() *float64 + type Degrees struct + func (x *Degrees) Origin() *string + func (x *Degrees) SensorNames() *string + func (x *Degrees) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Degrees) Value() *int + type DeicingChemical struct + func (x *DeicingChemical) Amount() *GramPerSquareMeter + func (x *DeicingChemical) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Geometry struct + func (x *Geometry) SWEREF99TM() *string + func (x *Geometry) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Geometry) WGS84() *string + type GramPerSquareMeter struct + func (x *GramPerSquareMeter) Origin() *string + func (x *GramPerSquareMeter) SensorNames() *string + func (x *GramPerSquareMeter) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *GramPerSquareMeter) Value() *float64 + type Grip struct + func (x *Grip) Origin() *string + func (x *Grip) SensorNames() *string + func (x *Grip) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Grip) Value() *float64 + type GroundCondition struct + func (x *GroundCondition) Depth() *IntegerCentimeters + func (x *GroundCondition) Temperature() *Celsius + func (x *GroundCondition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type IntegerCentimeters struct + func (x *IntegerCentimeters) Origin() *string + func (x *IntegerCentimeters) SensorNames() *string + func (x *IntegerCentimeters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *IntegerCentimeters) Value() *int + type Location struct + func (x *Location) Geometry() *Geometry + func (x *Location) ID() *int + func (x *Location) Name() *string + func (x *Location) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Meters struct + func (x *Meters) Origin() *string + func (x *Meters) SensorNames() *string + func (x *Meters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Meters) Value() *float64 + type MetersPerSecond struct + func (x *MetersPerSecond) Origin() *string + func (x *MetersPerSecond) SensorNames() *string + func (x *MetersPerSecond) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *MetersPerSecond) Value() *float64 + type Millimeters struct + func (x *Millimeters) Origin() *string + func (x *Millimeters) SensorNames() *string + func (x *Millimeters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Millimeters) Value() *float64 + type Percentage struct + func (x *Percentage) Origin() *string + func (x *Percentage) SensorNames() *string + func (x *Percentage) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Percentage) Value() *float64 + type PrecipitationConditionAggregated struct + func (x *PrecipitationConditionAggregated) Rain() *bool + func (x *PrecipitationConditionAggregated) RainSum() *Millimeters + func (x *PrecipitationConditionAggregated) Snow() *bool + func (x *PrecipitationConditionAggregated) SnowSum() *Snow + func (x *PrecipitationConditionAggregated) TotalWaterEquivalent() *Millimeters + func (x *PrecipitationConditionAggregated) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Response struct + Results []struct{ ... } + XMLName xml.Name + func (r Response) ErrorMsg() string + func (r Response) HasErrors() bool + type Snow struct + func (x *Snow) Solid() *Millimeters + func (x *Snow) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Snow) WaterEquivalent() *Millimeters + type SubsurfaceCondition struct + func (x *SubsurfaceCondition) Ground() []GroundCondition + func (x *SubsurfaceCondition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type SurfaceCondition struct + func (x *SurfaceCondition) Grip() *Grip + func (x *SurfaceCondition) Ice() *bool + func (x *SurfaceCondition) IceDepth() *Millimeters + func (x *SurfaceCondition) Snow() *bool + func (x *SurfaceCondition) SnowDepth() *Snow + func (x *SurfaceCondition) Temperature() *Celsius + func (x *SurfaceCondition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *SurfaceCondition) Water() *bool + func (x *SurfaceCondition) WaterDepth() *Millimeters + type Weather struct + func (x *Weather) Precipitation() *string + func (x *Weather) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type WeatherObservation struct + func (x *WeatherObservation) Aggregated10minutes() *Aggregated + func (x *WeatherObservation) Aggregated30minutes() *Aggregated + func (x *WeatherObservation) Aggregated5minutes() *Aggregated + func (x *WeatherObservation) Air() *AirCondition + func (x *WeatherObservation) DeicingChemical() *DeicingChemical + func (x *WeatherObservation) Deleted() *bool + func (x *WeatherObservation) ID() *string + func (x *WeatherObservation) Measurepoint() *Location + func (x *WeatherObservation) ModifiedTime() *time.Time + func (x *WeatherObservation) Sample() *time.Time + func (x *WeatherObservation) Subsurface() *SubsurfaceCondition + func (x *WeatherObservation) Surface() *SurfaceCondition + func (x *WeatherObservation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *WeatherObservation) Weather() *Weather + func (x *WeatherObservation) Wind() []WindCondition + type WindCondition struct + func (x *WindCondition) Direction() *Degrees + func (x *WindCondition) Height() *int + func (x *WindCondition) Speed() *MetersPerSecond + func (x *WindCondition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type WindConditionAggregated struct + func (x *WindConditionAggregated) Height() *int + func (x *WindConditionAggregated) SpeedAverage() *MetersPerSecond + func (x *WindConditionAggregated) SpeedMax() *MetersPerSecond + func (x *WindConditionAggregated) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error