# get_years_for_station()


Get the list of years for which a station has data.


Usage

``` python
get_years_for_station(station_id)
```


## Parameters


`station_id: str`  
The station ID in USAF-WBAN format (e.g., `"725030-14732"`).


## Returns


`list[int]`  
List of years with available data.


## Examples

Get available years for a specific station:


``` python
import weathervault as wv

years = wv.get_years_for_station("725030-14732")

years
```


    [1973,
     1974,
     1975,
     1976,
     1977,
     1978,
     1979,
     1980,
     1981,
     1982,
     1983,
     1984,
     1985,
     1986,
     1987,
     1988,
     1989,
     1990,
     1991,
     1992,
     1993,
     1994,
     1995,
     1996,
     1997,
     1998,
     1999,
     2000,
     2001,
     2002,
     2003,
     2004,
     2005,
     2006,
     2007,
     2008,
     2009,
     2010,
     2011,
     2012,
     2013,
     2014,
     2015,
     2016,
     2017,
     2018,
     2019,
     2020,
     2021,
     2022,
     2023,
     2024,
     2025]
