Use a single data step to create two permanent data sets from the temporary 2021 data set. One data set will be a list of unique stations with the station name. Include the number 21 in the data set name so we can remember that these are the station names from the 2021 data. The second data set will be a "wide" data set that contains the STATION variable with one observation for each station along with 28 variables containing the SNOW value for each day of the month for that station the variables will have a name like Snow21_1 for the data from February 1. Use an array to create and manage these variables. The new Day variable can be used as an array index. Similarly, create another 28 variables with the daily values of TMIN usin
STATION_NAME DATE PRCP SNWD SNOW TAVG TMAX TMIN TOBS Snowfall_Group Daily_Snow_PCT STATION LONGVIEW 11 SE 02/01/2021 65 29 46 None USWOOD03951 LONGVIEW 11 SE 02/02/2021 65 29 41 None USWOOD03951 LONGVIEW 11 SE 02/03/2021 56 34 44 None USWOOD03951 Q U A W N - LONGVIEW 11 SE 02/04/2021 65 44 61 None USWOOD03951 LONGVIEW 11 SE 02/05/2021 73 38 41 None USWOOD03951 LONGVIEW 11 SE 02/06/2021 55 39 46 None USWOOD03951 7 LONGVIEW 11 SE 02/07/2021 39 47 None USWOOD03951 LONGVIEW 11 SE 02/08/2021 36 45 None USWOOD03951 LO CO LONGVIEW 11 SE 02/09/2021 45 54 None USWOOD03951 10 LONGVIEW 11 SE 02/10/2021 37 43 None USWOOD03951 11 LONGVIEW 11 SE 02/11/2021 32 33 None USWOO003951 12 LONGVIEW 11 SE 02/12/2021 0.1 28 29 None USWOD003951 13 LONGVIEW 11 SE 02/13/2021 26 26 None USWOOD03951 14 LONGVIEW 11 SE 02/14/2021 26 26 None USW00003951 15 LONGVIEW 11 SE 02/15/2021 9 12 Heavy 1.0571428571 USW00003951 16 LONGVIEW 11 SE 02/16/2021 -2 8 None 0 USWOOD03951 17 LONGVIEW 11 SE 02/17/2021 7 23 Moderate 0.3888888889 USW00003951 18 LONGVIEW 11 SE 02/18/2021 7 31 None 0 USWOOD03951 19 LONGVIEW 11 SE 02/19/2021 12 33 None 0 USWOOD03951 20 LONGVIEW 11 SE 02/20/2021 39 None 0 USWOOD03951 21 LONGVIEW 11 SE 02/21/2021 37 43 None 0 USWOOD03951 22 LONGVIEW 11 SE 02/22/2021 33 41 None USWOOD03951 23 LONGVIEW 11 SE 02/23/2021 40 61 None USWOOD03951 24 LONGVIEW 11 SE 02/24/2021 40 62 None USWOOD03951 25 LONGVIEW 11 SE 02/25/2021 49 54 None USWOOD03951 26 LONGVIEW 11 SE 02/26/2021 44 45 None USWOOD03951 27 LONGVIEW 11 SE 02/27/2021 0.2 45 51 None USWOOD03951 28 LONGVIEW 11 SE 02/28/2021 45 76 None USWOO003951 29 NEDERLAND 0.5 SSE 02/01/2021 None USITXJJ0019 30 NEDERLAND 0.5 SSE 02/02/2021 None USITXJJ0019 31 NEDERLAND 0.5 SSE 02/03/2021 None US1TXJJ0019 32 NEDERLAND 0.5 SSE 02/04/2021 None US1TXJJ0019