Hi @kvos,
Thanks for making this open source. I'm trying to partially update the dataset published at https://zenodo.org/records/7758183, to add in shorelines from satellite imagery from 2022-2024 in New Zealand. One of the problems I noticed while trying to do this, is that I don't get the same results as you (pre-tidal correction), even for the exact same satellite imagery.
I'm using @2320sharon's coastsat-package (https://github.com/SatelliteShorelines/coastsat_package, 0.1.73)
Here's my notebook: https://github.com/UoA-eResearch/CoastSat/blob/b3a9739af2e26fae26ed4b7bf68dea8b040ed9e0/update.ipynb
I'm looking at site nzd0188, which is Tairua beach
I'm using the polygons.geojson, shorelines.geojson, and transects.geojson from that Zenodo link
I noticed a problem with the reference shoreline though, it didn't have enough points to accurately build a mask, as that relies on buffering from the points that construe the line. So I had to split the shoreline by the transects to add in enough points.
I've also noticed I've had to flip coordinate order (lat lng -> lng lat) at times in order for things to work
As you can see from the table at the bottom of my notebook, my calculated intersects are typically off from yours by roughly 40m
Any ideas what I'm doing wrong?
Cheers,
Nick
Hi @kvos,
Thanks for making this open source. I'm trying to partially update the dataset published at https://zenodo.org/records/7758183, to add in shorelines from satellite imagery from 2022-2024 in New Zealand. One of the problems I noticed while trying to do this, is that I don't get the same results as you (pre-tidal correction), even for the exact same satellite imagery.
I'm using @2320sharon's coastsat-package (https://github.com/SatelliteShorelines/coastsat_package, 0.1.73)
Here's my notebook: https://github.com/UoA-eResearch/CoastSat/blob/b3a9739af2e26fae26ed4b7bf68dea8b040ed9e0/update.ipynb
I'm looking at site
nzd0188, which is Tairua beachI'm using the
polygons.geojson,shorelines.geojson, andtransects.geojsonfrom that Zenodo linkI noticed a problem with the reference shoreline though, it didn't have enough points to accurately build a mask, as that relies on buffering from the points that construe the line. So I had to split the shoreline by the transects to add in enough points.
I've also noticed I've had to flip coordinate order (lat lng -> lng lat) at times in order for things to work
As you can see from the table at the bottom of my notebook, my calculated intersects are typically off from yours by roughly 40m
Any ideas what I'm doing wrong?
Cheers,
Nick