Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 3ec9970 commit 64be342
Showing 1 changed file with 9 additions and 9 deletions.
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 64be342

Please sign in to comment.