csv
This commit is contained in:
parent
d6627c710b
commit
1db67ae1a8
|
@ -130,6 +130,7 @@ def get_spi_dataframe(station_polygon, newdata_path, month):
|
||||||
for i in range(0, month - 1):
|
for i in range(0, month - 1):
|
||||||
spi_month_data.append("1")
|
spi_month_data.append("1")
|
||||||
spei_month_data.append("1;1")
|
spei_month_data.append("1;1")
|
||||||
|
print(newdata.iloc[index])
|
||||||
spi_month_data.append(str(newdata.iloc[index].rain))
|
spi_month_data.append(str(newdata.iloc[index].rain))
|
||||||
spei_month_data.append(str(newdata.iloc[index].rain) + ";" + str(newdata.iloc[index].temp))
|
spei_month_data.append(str(newdata.iloc[index].rain) + ";" + str(newdata.iloc[index].temp))
|
||||||
index += 1
|
index += 1
|
||||||
|
|
Loading…
Reference in New Issue