Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,10 @@ import xarray as xr
|
|
| 126 |
|
| 127 |
|
| 128 |
class SADCP_Viewer(param.Parameterized):
|
| 129 |
-
|
|
|
|
|
|
|
|
|
|
| 130 |
file_names = df["file_name"].tolist()
|
| 131 |
years = sorted(df["year"].unique())
|
| 132 |
|
|
|
|
| 126 |
|
| 127 |
|
| 128 |
class SADCP_Viewer(param.Parameterized):
|
| 129 |
+
file_csv='https://data-eurogoship.ifremer.fr/data/table.csv'
|
| 130 |
+
file=fs.open(file_csv)
|
| 131 |
+
df = pd.read_csv(file, index_col=None).sort_values(by="year")
|
| 132 |
+
#df = pd.read_csv("table.csv", index_col=None).sort_values(by="year")
|
| 133 |
file_names = df["file_name"].tolist()
|
| 134 |
years = sorted(df["year"].unique())
|
| 135 |
|