Describe the bug
SAM simulations expect snow depth data to be in units of cm for simulations. SolarAnywhere snow depth data is provided in units of meters. The Solar Resource File Converter macro seems to divide SolarAnywhere snow depth by 100 rather than multiplying it by 100 to get it into centimeters. This results is snow loss estimates of 0% in simulations using SolarAnywhere files at snowy locations where you would expect some percentage of snow losses.
To Reproduce
Steps to reproduce the behavior:
- Obtain a SolarAnywhere format time series file from a snowy location that includes the snow depth field (There is one attached here).
Green Valley, SD SolarAnywhere Time Series 20200101 to 20210102 Lat_44_065 Lon_-97_655 SA format.zip
- Open a new project in SAM.
- In the bottom left corner, select Macros. Select Solar Resource File Converter from the list, then select SolarAnywhere from the
Weather file format drop down in the top right corner.
- Select Run macro and choose your SolarAnywhere file.
- Go back into the project in SAM. In the "Location and Resource" section select the samcsv you just created.
- In the "Shading and Layout" section, check the box next to "Estimate snow losses" at the bottom.
- Run the simulation (can just use all the defaults and select the box for "Estimate Subarray 1 configuration" in the system design section).
- Go into the losses section of the results. You'll notice that there will be 0% losses from snow.
Expected behavior
You would expect to see some percentage of the total system losses be attributed to snow losses. Additionally, when you open a samcsv converted SolarAnywhere file, you'd expect to see the snow values be the original values * 100, but they are instead the original values/100.
Screenshots
Original SolarAnywhere file snow depth:

Samcsv converted file snow depth:

Operating System and Version
- OS: Windows
- Version: SAM 2020.11.29
Additional context
No additional context. Thanks!
Describe the bug
SAM simulations expect snow depth data to be in units of cm for simulations. SolarAnywhere snow depth data is provided in units of meters. The Solar Resource File Converter macro seems to divide SolarAnywhere snow depth by 100 rather than multiplying it by 100 to get it into centimeters. This results is snow loss estimates of 0% in simulations using SolarAnywhere files at snowy locations where you would expect some percentage of snow losses.
To Reproduce
Steps to reproduce the behavior:
Green Valley, SD SolarAnywhere Time Series 20200101 to 20210102 Lat_44_065 Lon_-97_655 SA format.zip
Weather file format drop down in the top right corner.
Expected behavior
You would expect to see some percentage of the total system losses be attributed to snow losses. Additionally, when you open a samcsv converted SolarAnywhere file, you'd expect to see the snow values be the original values * 100, but they are instead the original values/100.
Screenshots

Original SolarAnywhere file snow depth:
Samcsv converted file snow depth:

Operating System and Version
Additional context
No additional context. Thanks!