Documentation
¶
Overview ¶
Package forecast access the National Digital Forecast Database.
The service has 12 exposed functions, NDFDgen, NDFDgenLatLonList, NDFDgenByDay, NDFDgenByDayLatLonList, LatLonListSubgrid, LatLonListLine, LatLonListZipCode, CornerPoints, LatLonListSquare, GmlLatLonList, GmlTimeSeries, and LatLonListCityNames. For the NDFDgen function, the client needs to provide a latitude and longitude pair and the product type. The Unit will default to U.S. Standard (english) unless Metric is chosen by client. The client also needs to provide the start and end time (Local) of the period that it wants data for (if shorter than the 7 days is wanted). For the time-series product, the client needs to provide an array of boolean values corresponding to which NDFD values are desired. For the NDFDgenByDay function, the client needs to provide a latitude and longitude pair, the date (Local) it wants to start retrieving data for and the number of days worth of data. The Unit will default to U.S. Standard (english) unless Metric is chosen by client. The client also needs to provide the format that is desired. For the multi point versions, NDFDgenLatLonList and NDFDgenByDayLatLonList a space delimited list of latitude and longitude pairs are substituted for the single latitude and longitude input. Each latitude and longitude pair is composed of a latitude and longitude delimited by a comma. For the LatLonListSubgrid, the user provides a comma delimited latitude and longitude pair for the lower left and for the upper right corners of a rectangular subgrid. The function can also take a integer resolution to reduce the number of grid points returned. The service then returns a list of latitude and longitude pairs for all the grid points contained in the subgrid. weather values should appear in the time series product. For the LatLonListLine, The inputs are the same as the function NDFDgen except the latitude and longitude pair is replaced by two latitude and longitude pairs, one for each end point a line. The two points are delimited with a space. The service then returns data for all the NDFD points on the line formed by the two points. For the LatLonListZipCode function, the input is the same as the NDFDgen function except the latitude and longitude values are relaced by a zip code for the 50 United States and Puerto Rico. For the LatLonListSquare function, the input is the same as the NDFDgen function except the latitude and longitude values are relaced by a zip code for the 50 United States and Puerto Rico. For the CornerPoints function, the service requires a valid NDFD grid name. The function returns a list of four latitude and longitude pairs, one for each corner of the NDFD grid. The function also returns the minimum resolution required to return the entire grid below the maximum points threshold. For the GmlLatLonList function, the service requires a list of latitude and longitude pairs, the time (UTC) the user wants data for, the GML feature type and the array of boolean values corresponding to which NDFD values are desired. For the GmlTimeSeries function, the service requires a list of latitude and longitude pairs, the start and end time (UTC) the user wants data for, a comparison type (IsEqual, Between, GreaterThan, GreaterThan, GreaterThanEqualTo, LessThan, and LessThanEqualTo), the GML feature type and The input variable "propertyName" contains a comma delimited string of NDFD element to indicate which weather parameters are being requested. For the LatLonListCityNames function, the services requires a detail level that that ranges from 1 to 4. Level 1 generally represents large main cities. Level 2 represents progressively smaller cities or large cities that are close to another even larger city. Levels 3 and 4 are part one and two of a list of cities that help increase the areal coverage of the cities dataset. This functions returns a list of latitude and longitude values along with a seperate list of city name for those point.
Index ¶
- type Client
- func (c *Client) CornerPoints(ctx context.Context, CornerPointsRequest_ CornerPointsRequest) (CornerPointsResponse, error)
- func (c *Client) GmlLatLonList(ctx context.Context, GmlLatLonListRequest_ GmlLatLonListRequest) (GmlLatLonListResponse, error)
- func (c *Client) GmlTimeSeries(ctx context.Context, GmlTimeSeriesRequest_ GmlTimeSeriesRequest) (GmlTimeSeriesResponse, error)
- func (c *Client) LatLonListCityNames(ctx context.Context, LatLonListCityNamesRequest_ LatLonListCityNamesRequest) (LatLonListCityNamesResponse, error)
- func (c *Client) LatLonListLine(ctx context.Context, LatLonListLineRequest_ LatLonListLineRequest) (LatLonListLineResponse, error)
- func (c *Client) LatLonListSquare(ctx context.Context, LatLonListSquareRequest_ LatLonListSquareRequest) (LatLonListSquareResponse, error)
- func (c *Client) LatLonListSubgrid(ctx context.Context, LatLonListSubgridRequest_ LatLonListSubgridRequest) (LatLonListSubgridResponse, error)
- func (c *Client) LatLonListZipCode(ctx context.Context, LatLonListZipCodeRequest_ LatLonListZipCodeRequest) (LatLonListZipCodeResponse, error)
- func (c *Client) NDFDgen(ctx context.Context, NDFDgenRequest_ NDFDgenRequest) (NDFDgenResponse, error)
- func (c *Client) NDFDgenByDay(ctx context.Context, NDFDgenByDayRequest_ NDFDgenByDayRequest) (NDFDgenByDayResponse, error)
- func (c *Client) NDFDgenByDayLatLonList(ctx context.Context, ...) (NDFDgenByDayLatLonListResponse, error)
- func (c *Client) NDFDgenLatLonList(ctx context.Context, NDFDgenLatLonListRequest_ NDFDgenLatLonListRequest) (NDFDgenLatLonListResponse, error)
- type CompType
- type CornerPointsRequest
- type CornerPointsResponse
- type DisplayLevel
- type FeatureType
- type Format
- type GmlLatLonListRequest
- type GmlLatLonListResponse
- type GmlTimeSeriesRequest
- type GmlTimeSeriesResponse
- type LatLonListCityNamesRequest
- type LatLonListCityNamesResponse
- type LatLonListLineRequest
- type LatLonListLineResponse
- type LatLonListSquareRequest
- type LatLonListSquareResponse
- type LatLonListSubgridRequest
- type LatLonListSubgridResponse
- type LatLonListZipCodeRequest
- type LatLonListZipCodeResponse
- type LatLonPair
- type ListCityNames
- type ListLatLon
- type NDFDgenByDayLatLonListRequest
- type NDFDgenByDayLatLonListResponse
- type NDFDgenByDayRequest
- type NDFDgenByDayResponse
- type NDFDgenLatLonListRequest
- type NDFDgenLatLonListResponse
- type NDFDgenRequest
- type NDFDgenResponse
- type Product
- type SOAPdoer
- type Sector
- type Unit
- type WeatherParameters
- type ZipCode
- type ZipCodeList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{ SOAP SOAPdoer } // Returns National Weather Service digital weather forecast data
func (*Client) CornerPoints ¶
func (c *Client) CornerPoints(ctx context.Context, CornerPointsRequest_ CornerPointsRequest) (CornerPointsResponse, error)
Returns four latitude and longitude pairs for corners of an NDFD grid and the minimum resolution that will return the entire grid
func (*Client) GmlLatLonList ¶
func (c *Client) GmlLatLonList(ctx context.Context, GmlLatLonListRequest_ GmlLatLonListRequest) (GmlLatLonListResponse, error)
Returns National Weather Service digital weather forecast data encoded in GML for a single time
func (*Client) GmlTimeSeries ¶
func (c *Client) GmlTimeSeries(ctx context.Context, GmlTimeSeriesRequest_ GmlTimeSeriesRequest) (GmlTimeSeriesResponse, error)
Returns National Weather Service digital weather forecast data encoded in GML for a time period
func (*Client) LatLonListCityNames ¶
func (c *Client) LatLonListCityNames(ctx context.Context, LatLonListCityNamesRequest_ LatLonListCityNamesRequest) (LatLonListCityNamesResponse, error)
Returns a list of latitude and longitude pairs paired with the city names they correspond to
func (*Client) LatLonListLine ¶
func (c *Client) LatLonListLine(ctx context.Context, LatLonListLineRequest_ LatLonListLineRequest) (LatLonListLineResponse, error)
Returns a list of latitude and longitude pairs along a line defined by the latitude and longitude of the 2 endpoints
func (*Client) LatLonListSquare ¶
func (c *Client) LatLonListSquare(ctx context.Context, LatLonListSquareRequest_ LatLonListSquareRequest) (LatLonListSquareResponse, error)
Returns a list of latitude and longitude pairs in a rectangle defined by a central point and distance from that point in the latitudinal and longitudinal directions
func (*Client) LatLonListSubgrid ¶
func (c *Client) LatLonListSubgrid(ctx context.Context, LatLonListSubgridRequest_ LatLonListSubgridRequest) (LatLonListSubgridResponse, error)
Returns a list of latitude and longitude pairs in a rectangular subgrid defined by the lower left and upper right points
func (*Client) LatLonListZipCode ¶
func (c *Client) LatLonListZipCode(ctx context.Context, LatLonListZipCodeRequest_ LatLonListZipCodeRequest) (LatLonListZipCodeResponse, error)
Returns a list of latitude and longitude pairs with each pair corresponding to an input zip code.
func (*Client) NDFDgen ¶
func (c *Client) NDFDgen(ctx context.Context, NDFDgenRequest_ NDFDgenRequest) (NDFDgenResponse, error)
func (*Client) NDFDgenByDay ¶
func (c *Client) NDFDgenByDay(ctx context.Context, NDFDgenByDayRequest_ NDFDgenByDayRequest) (NDFDgenByDayResponse, error)
Returns National Weather Service digital weather forecast data summarized over either 24- or 12-hourly periods
func (*Client) NDFDgenByDayLatLonList ¶
func (c *Client) NDFDgenByDayLatLonList(ctx context.Context, NDFDgenByDayLatLonListRequest_ NDFDgenByDayLatLonListRequest) (NDFDgenByDayLatLonListResponse, error)
Returns National Weather Service digital weather forecast data summarized over either 24- or 12-hourly periods
func (*Client) NDFDgenLatLonList ¶
func (c *Client) NDFDgenLatLonList(ctx context.Context, NDFDgenLatLonListRequest_ NDFDgenLatLonListRequest) (NDFDgenLatLonListResponse, error)
Returns National Weather Service digital weather forecast data
type CompType ¶
type CompType string
May be one of IsEqual, Between, GreaterThan, GreaterThanEqualTo, LessThan, LessThanEqualTo
type CornerPointsRequest ¶
type CornerPointsResponse ¶
type CornerPointsResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl CornerPointsResponse"` ListLatLonOut ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLonOut"` }
type FeatureType ¶
type FeatureType string
May be one of Forecast_Gml2Point, Forecast_Gml2AllWx, Forecast_GmlsfPoint, Forecast_GmlObs, NdfdMultiPointCoverage, Ndfd_KmlPoint
type GmlLatLonListRequest ¶
type GmlLatLonListRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl GmlLatLonListRequest"` ListLatLon ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLon"` RequestedTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl requestedTime"` Feature FeatureType `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl featureType"` WeatherParameters WeatherParameters `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl weatherParameters"` }
func (*GmlLatLonListRequest) MarshalXML ¶
func (t *GmlLatLonListRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*GmlLatLonListRequest) UnmarshalXML ¶
func (t *GmlLatLonListRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type GmlLatLonListResponse ¶
type GmlTimeSeriesRequest ¶
type GmlTimeSeriesRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl GmlTimeSeriesRequest"` ListLatLon ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLon"` StartTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl startTime"` EndTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endTime"` Comp CompType `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl compType"` Feature FeatureType `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl featureType"` PropertyName string `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl propertyName"` }
func (*GmlTimeSeriesRequest) MarshalXML ¶
func (t *GmlTimeSeriesRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*GmlTimeSeriesRequest) UnmarshalXML ¶
func (t *GmlTimeSeriesRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type GmlTimeSeriesResponse ¶
type LatLonListCityNamesRequest ¶
type LatLonListCityNamesRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListCityNamesRequest"` DisplayLevel DisplayLevel `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl displayLevel"` }
type LatLonListCityNamesResponse ¶
type LatLonListCityNamesResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListCityNamesResponse"` ListCityNamesOut ListCityNames `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listCityNamesOut"` }
type LatLonListLineRequest ¶
type LatLonListLineRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListLineRequest"` EndPoint1Lat float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endPoint1Lat"` EndPoint1Lon float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endPoint1Lon"` EndPoint2Lat float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endPoint2Lat"` EndPoint2Lon float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endPoint2Lon"` }
type LatLonListLineResponse ¶
type LatLonListLineResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListLineResponse"` ListLatLonOut ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLonOut"` }
type LatLonListSquareRequest ¶
type LatLonListSquareRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListSquareRequest"` CenterPointLat float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl centerPointLat"` CenterPointLon float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl centerPointLon"` DistanceLat float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl distanceLat"` DistanceLon float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl distanceLon"` Resolution float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl resolution"` }
type LatLonListSquareResponse ¶
type LatLonListSquareResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListSquareResponse"` ListLatLonOut ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLonOut"` }
type LatLonListSubgridRequest ¶
type LatLonListSubgridRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListSubgridRequest"` LowerLeftLatitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl lowerLeftLatitude"` LowerLeftLongitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl lowerLeftLongitude"` UpperRightLatitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl upperRightLatitude"` UpperRightLongitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl upperRightLongitude"` Resolution float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl resolution"` }
type LatLonListSubgridResponse ¶
type LatLonListSubgridResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListSubgridResponse"` ListLatLonOut ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLonOut"` }
type LatLonListZipCodeRequest ¶
type LatLonListZipCodeRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListZipCodeRequest"` ZipCodeList ZipCodeList `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl zipCodeList"` }
type LatLonListZipCodeResponse ¶
type LatLonListZipCodeResponse struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl LatLonListZipCodeResponse"` ListLatLonOut ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLonOut"` }
type ListCityNames ¶
type ListCityNames string
Must match the pattern [a-zA-Z'\-]*( ?[a-zA-Z'\-]*)*,[A-Z][A-Z](\|[a-zA-Z'\-]*( ?[a-zA-Z'\-]*)*,[A-Z][A-Z])*
type ListLatLon ¶
type ListLatLon string
Must match the pattern [\-]?\d{1,2}\.\d+,[\-]?\d{1,3}\.\d+( [\-]?\d{1,2}\.\d+,[\-]?\d{1,3}\.\d+)*
type NDFDgenByDayLatLonListRequest ¶
type NDFDgenByDayLatLonListRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl NDFDgenByDayLatLonListRequest"` ListLatLon ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLon"` StartDate time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl startDate"` NumDays int `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl numDays"` Unit Unit `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl Unit"` Format Format `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl format"` }
func (*NDFDgenByDayLatLonListRequest) MarshalXML ¶
func (t *NDFDgenByDayLatLonListRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*NDFDgenByDayLatLonListRequest) UnmarshalXML ¶
func (t *NDFDgenByDayLatLonListRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type NDFDgenByDayRequest ¶
type NDFDgenByDayRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl NDFDgenByDayRequest"` Latitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl latitude"` Longitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl longitude"` StartDate time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl startDate"` NumDays int `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl numDays"` Unit Unit `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl Unit"` Format Format `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl format"` }
func (*NDFDgenByDayRequest) MarshalXML ¶
func (t *NDFDgenByDayRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*NDFDgenByDayRequest) UnmarshalXML ¶
func (t *NDFDgenByDayRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type NDFDgenByDayResponse ¶
type NDFDgenLatLonListRequest ¶
type NDFDgenLatLonListRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl NDFDgenLatLonListRequest"` ListLatLon ListLatLon `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl listLatLon"` Product Product `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl product"` StartTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl startTime"` EndTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endTime"` Unit Unit `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl Unit"` WeatherParameters WeatherParameters `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl weatherParameters"` }
func (*NDFDgenLatLonListRequest) MarshalXML ¶
func (t *NDFDgenLatLonListRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*NDFDgenLatLonListRequest) UnmarshalXML ¶
func (t *NDFDgenLatLonListRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type NDFDgenRequest ¶
type NDFDgenRequest struct { XMLName xml.Name `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl NDFDgenRequest"` Latitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl latitude"` Longitude float64 `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl longitude"` Product Product `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl product"` StartTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl startTime"` EndTime time.Time `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl endTime"` Unit Unit `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl Unit"` WeatherParameters WeatherParameters `xml:"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl weatherParameters"` }
func (*NDFDgenRequest) MarshalXML ¶
func (t *NDFDgenRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*NDFDgenRequest) UnmarshalXML ¶
func (t *NDFDgenRequest) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type NDFDgenResponse ¶
type Sector ¶
type Sector string
May be one of conus, nhemi, alaska, guam, hawaii, puertori, npacocn
type WeatherParameters ¶
type WeatherParameters struct { Maxt bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd maxt"` Mint bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd mint"` Temp bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd temp"` Dew bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd dew"` Pop12 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd pop12"` Qpf bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd qpf"` Sky bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd sky"` Snow bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd snow"` Wspd bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wspd"` Wdir bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wdir"` Wx bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wx"` Waveh bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd waveh"` Icons bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd icons"` Rh bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd rh"` Appt bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd appt"` Incw34 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd incw34"` Incw50 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd incw50"` Incw64 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd incw64"` Cumw34 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd cumw34"` Cumw50 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd cumw50"` Cumw64 bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd cumw64"` Critfireo bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd critfireo"` Dryfireo bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd dryfireo"` Conhazo bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd conhazo"` Ptornado bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd ptornado"` Phail bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd phail"` Ptstmwinds bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd ptstmwinds"` Pxtornado bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd pxtornado"` Pxhail bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd pxhail"` Pxtstmwinds bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd pxtstmwinds"` Ptotsvrtstm bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd ptotsvrtstm"` Pxtotsvrtstm bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd pxtotsvrtstm"` Tmpabv14d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpabv14d"` Tmpblw14d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpblw14d"` Tmpabv30d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpabv30d"` Tmpblw30d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpblw30d"` Tmpabv90d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpabv90d"` Tmpblw90d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd tmpblw90d"` Prcpabv14d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpabv14d"` Prcpblw14d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpblw14d"` Prcpabv30d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpabv30d"` Prcpblw30d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpblw30d"` Prcpabv90d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpabv90d"` Prcpblw90d bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd prcpblw90d"` Precipar bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd precipa_r"` Skyr bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd sky_r"` Tdr bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd td_r"` Tempr bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd temp_r"` Wdirr bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wdir_r"` Wspdr bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wspd_r"` Wwa bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wwa"` Wgust bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd wgust"` Iceaccum bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd iceaccum"` Maxrh bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd maxrh"` Minrh bool `xml:"http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd minrh"` }
type ZipCodeList ¶
type ZipCodeList string
Must match the pattern \d{5}(\-\d{4})?( \d{5}(\-\d{4})?)*