Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Feb 19, 2024
1 parent 5fa6725 commit bfa378b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,9 @@
"import pysgrid\n",
"\n",
"url = \"https://geoport.whoi.edu/thredds/dodsC/coawst_4/use/fmrc/coawst_4_use_best.ncd\"\n",
"url = \"http://tds.marine.rutgers.edu/thredds/dodsC/roms/doppio/2017_da/avg/Averages_Best\"\n",
"url = (\n",
" \"http://tds.marine.rutgers.edu/thredds/dodsC/roms/doppio/2017_da/avg/Averages_Best\"\n",
")\n",
"sgrid = pysgrid.load_grid(url)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1270,14 +1270,14 @@
"temperature = df[[\"eventID\", \"temperature\", \"date\"]].copy()\n",
"temperature[\"occurrenceID\"] = \"\"\n",
"temperature[\"measurementType\"] = \"temperature\"\n",
"temperature[\n",
" \"measurementTypeID\"\n",
"] = \"http://vocab.nerc.ac.uk/collection/P25/current/WTEMP/\"\n",
"temperature[\"measurementTypeID\"] = (\n",
" \"http://vocab.nerc.ac.uk/collection/P25/current/WTEMP/\"\n",
")\n",
"temperature[\"measurementValue\"] = temperature[\"temperature\"]\n",
"temperature[\"measurementUnit\"] = \"Celsius\"\n",
"temperature[\n",
" \"measurementUnitID\"\n",
"] = \"http://vocab.nerc.ac.uk/collection/P06/current/UPAA/\"\n",
"temperature[\"measurementUnitID\"] = (\n",
" \"http://vocab.nerc.ac.uk/collection/P06/current/UPAA/\"\n",
")\n",
"temperature[\"measurementAccuracy\"] = 3\n",
"temperature[\"measurementDeterminedDate\"] = pd.to_datetime(\n",
" temperature[\"date\"], format=\"%m/%d/%Y\"\n",
Expand All @@ -1301,9 +1301,9 @@
"\n",
"percent_cover = df[[\"eventID\", \"occurrenceID\", \"percent cover\", \"date\"]].copy()\n",
"percent_cover[\"measurementType\"] = \"Percent Cover\"\n",
"percent_cover[\n",
" \"measurementTypeID\"\n",
"] = \"http://vocab.nerc.ac.uk/collection/P01/current/SDBIOL10/\"\n",
"percent_cover[\"measurementTypeID\"] = (\n",
" \"http://vocab.nerc.ac.uk/collection/P01/current/SDBIOL10/\"\n",
")\n",
"percent_cover[\"measurementValue\"] = percent_cover[\"percent cover\"]\n",
"percent_cover[\"measurementUnit\"] = \"Percent/100m^2\"\n",
"percent_cover[\"measurementUnitID\"] = \"\"\n",
Expand Down

0 comments on commit bfa378b

Please sign in to comment.