Skip to content

Commit

Permalink
metadata fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-ninja committed Mar 12, 2024
1 parent 8ed0728 commit 948b571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dropbox_links.csv
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ path,link
/NZReefs/Hauturu/shapefiles/Hauturu2019.prj,https://www.dropbox.com/scl/fi/7d0qw2nrwyezxfebexu4l/Hauturu2019.prj?rlkey=7kpzfec9b1ilz1wo01qak2y8p&dl=0&raw=1
/NZReefs/Hauturu/shapefiles/Hauturu2019.dbf,https://www.dropbox.com/scl/fi/b75ny9npm8sn4c0k505vt/Hauturu2019.dbf?rlkey=47bbtnb0ndzurru80ylb486ol&dl=0&raw=1
/NZReefs/Hauturu/Hauturu2019original.csv,https://www.dropbox.com/s/s1ia731i24k8se8/Hauturu2019original.csv?dl=0&raw=1
/NZReefs/Hauturu/Hauturu Site metadata.csv,https://www.dropbox.com/s/0bhoqxrpw5mx401/Hauturu%20Site%20metadata.csv?dl=0&raw=1
/NZReefs/Hauturu/Hauturu Site metadata.csv,https://www.dropbox.com/scl/fi/kbo13d62p60gjznj0si1o/Hauturu-Site-metadata.csv?rlkey=3dbycjtr6k80lyiuta52ukc1g&dl=0&raw=1
/NZReefs/Hauturu/Hauturu2019.csv,https://www.dropbox.com/scl/fi/p20km2g4pvbeeiguesmdg/Hauturu2019.csv?rlkey=a0zr3kkbozdvhsggiyvg0afyv&dl=0&raw=1
/NZReefs/Poor Knights/PKI 2019/PKI benthic surveys 2019/Charlie Olympus/P7220221.JPG,https://www.dropbox.com/scl/fi/fgp4dv81ts8stp1kxof5j/P7220221.JPG?rlkey=b20jvaj4hpoy8g7myyy4owtx6&dl=0&raw=1
/NZReefs/Poor Knights/PKI 2019/PKI benthic surveys 2019/Charlie Olympus/P7220222.JPG,https://www.dropbox.com/scl/fi/nhuyopohwcfsoborej3rr/P7220222.JPG?rlkey=j3wklbynw43e5wre1fzrz15z4&dl=0&raw=1
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@
}
})

Papa.parse("https://dl.dropbox.com/s/0bhoqxrpw5mx401/Hauturu%20Site%20metadata.csv?dl=0", {
var metadata_URL = 'https://corsproxy.io/?' + encodeURIComponent("https://www.dropbox.com/scl/fi/kbo13d62p60gjznj0si1o/Hauturu-Site-metadata.csv?rlkey=3dbycjtr6k80lyiuta52ukc1g&dl=0&raw=1")
Papa.parse(metadata_URL, {
download: true,
header: true,
dynamicTyping: true,
Expand All @@ -347,7 +348,7 @@
.bindTooltip(d.Site.toString(), { permanent: true })
.bindPopup(`<b>Site: ${d.Site}</b><br>
Date: ${d.date_loc}<br>
Depth (mean, max): ${d.AveDepth.toFixed(2)}m, ${d.MaxDepth.toFixed(2)}m<br>
Depth (mean, max): ${d.Avedepth.toFixed(2)}m, ${d.Maxdepth.toFixed(2)}m<br>
Count: ${d.Count}<br>
Latlong: ${d.lat},${d.lng}<br>`)
.addTo(siteMarkers);
Expand Down

0 comments on commit 948b571

Please sign in to comment.