Coastseg

Latest version: v1.2.16

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 15

1.1.31

1. Fixes 213 : Transects are now rendered as arrows on the map where each transect points to its end point, which is supposed to be seaward.
2. Extracted shorelines' metadata is once again render on the widget on the right side of the map.

1.1.30

**Full Changelog**: https://github.com/Doodleverse/CoastSeg/compare/v1.1.29...v1.1.30
*Release Date: Feb 6, 2024*

This version of coastseg contains some major bug fixes. It fixes the bug where downloaded ROIs in the /data folder has their `config.json` and `config_gdf.geojson` files overwritten when shoreline were extracted. This new version also allows users to load ROI from sessions where not all the ROIs were downloaded. Now a warning appears to tell the user that some of the ROIs are missing but that they can still extract shorelines for the ROIs that were downloaded. (218) Tide correction now correctly converts the CRS of the transects so tide predictions are correctly performed at the end of each transect (222) . Lastly tide correction has been fixed so it works in both the coastsat and zoo workflows (227)

Upgrade

pip install coastseg==1.1.30


Change Log
1. Fixes issue 222: The transects end point are now correctly converted to the CRS 4326 and used to predict the tides.
2. Fixes issue 227 : Tide correction works in both the Zoo and CoastSat workflows
- All input transects are converted to CRS 4326 before checked which region of the tide model they belong to
3. Fixes issue 218 : ROI Settings Not Found Bug
- If a user shared one ROI out of a session containing more ROIs. Users can now extract shorelines from the one ROI shared. A warning message (see below) will appear to tell them which ROIs are missing and that they can extract shorelines for the downloaded ROIs.
- It fixes the bug where downloaded ROIs in the /data folder has their `config.json` and `config_gdf.geojson` files overwritten when shorelines were extracted. If a user extracted shorelines for a single ROI out of a session of 3 ROIs that ROI's `config.json` and `config_gdf.geojson` files in the /data folder were overwritten to ONLY have that ROI's data instead of all the ROIs from the session it belonged to.
- ROI settings can be read from multiple subdirectories meaning that users can load a session containing multiple independent ROIs with extracted shorelines and have all the ROI settings load correctly. WARNING only one set of settings will load to populate the widget.


New Warning Messages for Missing ROIs
218 A new warning message informing the user that not all the ROIs were downloaded but that they can still extract shorelines for the downloaded ROIs.
![new_settings_warning_message](https://github.com/Doodleverse/CoastSeg/assets/61564689/39380c35-7a81-441b-abb8-84b263f6d284)
![new_settings_warningpt2](https://github.com/Doodleverse/CoastSeg/assets/61564689/a48a8dce-edc1-4b21-b015-6b32fe1c6e5c)

1.1.29

**Full Changelog**: https://github.com/Doodleverse/CoastSeg/compare/v1.1.28...v1.1.29

1.1.29dev1

**Full Changelog**: https://github.com/Doodleverse/CoastSeg/compare/v1.1.28...v1.1.29dev1

1.1.28

**Full Changelog**: https://github.com/Doodleverse/CoastSeg/compare/v1.1.27...v1.1.28



*Release Date: Jan 24, 2024*

Please upgrade to version `1.1.28` this version of CoastSeg contains a critical fix to the deprecated Google authentication method that CoastSeg was using to connect with Google Earth Engine. Please follow the upgrade instructions included below. This version also contains the fix for the issue where the edges of the S2 imagery were being misclassified.


Changelog
- Fixes Issue 216 : Updated the tides controls to tell the user that the beach evelvation is relative is MSL and measured in meters
- Fixes Issue 210 : The reference shoreline is now plotted in the zoo outputs
- Minor bug fix: `filters.py ` `get_good_bad_files` will now sort all the files as 'good' if all the files were given the same label
- This bug occurred in the zoo workflow when only a few images ( <5) were used
* Update README.md with collapsible update instructions by 2320sharon in https://github.com/Doodleverse/CoastSeg/pull/214

- Fixed the issue where the edges of the S2 imagery were being misclassified. (coastsat_package 0.1.43)

S2 Edge Detection Fix
**Before**
<img src="https://user-images.githubusercontent.com/61564689/297831554-be485406-92ea-41eb-ab4a-e3186fbfc81d.jpg"
alt="bad_S2" width="450" height="200">
**After**
<img src="https://user-images.githubusercontent.com/61564689/297831530-daca908e-b013-41a8-ac0c-3a9d81a95dd6.jpg"
alt="good_S2" width="450" height="200">

How to Upgrade

To upgrade to the latest version, you can follow these steps:
---
Step 1: Open CoastSeg in Anaconda
1. Open Anaconda Prompt
2. Activate the coastseg environment
bash
conda activate coastseg

3. Go to your coastseg location
bash
cd <coastseg location>

4. Open the `SDS_coastsat_classifier.ipynb` notebook
- Click the restart and clear all outputs button and **click the save button**
- This clears the old data from the notebook

![image](https://github.com/Doodleverse/CoastSeg/assets/61564689/ac421fe4-cbf9-4ad9-86b5-368edd31bd9b)

Step 2: Install CoastSeg from PyPI

pip install coastseg==1.1.28


Step 3: Check for a Remote Connection to CoastSeg Repository
-Run the command below. In the output of this command you should see `origin https://github.com/Doodleverse/CoastSeg.git (fetch)`

git remote -v

![git remote output](https://github.com/Doodleverse/CoastSeg/assets/61564689/adbb9783-0f0e-4081-ad3f-cbfb00964a9d)
- If you don't see this output, then run the following command
bash
git remote add origin https://github.com/Doodleverse/CoastSeg.git
git pull origin main

Step 4: Pull the Latest Changes
1. Run the command below

git pull origin main

2. If you recieve an error message like the one shown below then proceed to 3, otherwise go to [Go to Step 5: Verify Update Success](step-4-verify-update-success)


Please commit your changes or stash them before you merge
Aborting


<img width="437" alt="git_pull_fail" src="https://github.com/Doodleverse/CoastSeg/assets/61564689/fd7ebceb-11f4-4c68-8aad-19f4d5f85030">

3. Run the command below:

- **WARNING** This will clear out anything you have written to the `certifications.json` make sure to save that file to a new location then move it back when you're done upgrading


git fetch origin
git reset --hard origin/main
git pull origin main

Step 5: Verify Update Success

git status

- This command should return the following message
-
On branch main
Your branch is up to date with 'origin/main'.


Please refer to the CoastSeg's [readme file](https://github.com/Doodleverse/CoastSeg/README.md) for more information about installing and configuring.

Feedback

We are eager to hear about your experiences with this new release. Please provide your feedback, file issues, or contribute a pull request on our [GitHub page](https://github.com/Doodleverse/CoastSeg/issues).

1.1.27

**Full Changelog**: https://github.com/Doodleverse/CoastSeg/compare/v1.1.26...v1.1.27


*Release Date: Jan 18, 2024*

Please upgrade to version `1.1.27` this version of CoastSeg contains a critical fix to the deprecated Google authentication method that CoastSeg was using to connect with Google Earth Engine. Please follow the upgrade instructions included below. This version also contains the fix for the issue where the edges of the S2 imagery were being misclassified.


Changelog
- Fixes Issue 210 : The reference shoreline is now plotted in the zoo outputs
- Minor bug fix: `filters.py ` `get_good_bad_files` will now sort all the files as 'good' if all the files were given the same label
- This bug occurred in the zoo workflow when only a few images ( <5) were used
* Update README.md with collapsible update instructions by 2320sharon in https://github.com/Doodleverse/CoastSeg/pull/214

- Fixed the issue where the edges of the S2 imagery were being misclassified. (coastsat_package 0.1.43)

S2 Edge Detection Fix
**Before**
<img src="https://user-images.githubusercontent.com/61564689/297831554-be485406-92ea-41eb-ab4a-e3186fbfc81d.jpg"
alt="bad_S2" width="450" height="200">
**After**
<img src="https://user-images.githubusercontent.com/61564689/297831530-daca908e-b013-41a8-ac0c-3a9d81a95dd6.jpg"
alt="good_S2" width="450" height="200">

How to Upgrade

To upgrade to the latest version, you can follow these steps:
---
Step 1: Open CoastSeg in Anaconda
1. Open Anaconda Prompt
2. Activate the coastseg environment
bash
conda activate coastseg

3. Go to your coastseg location
bash
cd <coastseg location>

4. Open the `SDS_coastsat_classifier.ipynb` notebook
- Click the restart and clear all outputs button and **click the save button**
- This clears the old data from the notebook

![image](https://github.com/Doodleverse/CoastSeg/assets/61564689/ac421fe4-cbf9-4ad9-86b5-368edd31bd9b)

Step 2: Install CoastSeg from PyPI

pip install coastseg==1.1.27


Step 3: Check for a Remote Connection to CoastSeg Repository
-Run the command below. In the output of this command you should see `origin https://github.com/Doodleverse/CoastSeg.git (fetch)`

git remote -v

![git remote output](https://github.com/Doodleverse/CoastSeg/assets/61564689/adbb9783-0f0e-4081-ad3f-cbfb00964a9d)
- If you don't see this output, then run the following command
bash
git remote add origin https://github.com/Doodleverse/CoastSeg.git
git pull origin main

Step 4: Pull the Latest Changes
1. Run the command below

git pull origin main

2. If you recieve an error message like the one shown below then proceed to 3, otherwise go to [Go to Step 5: Verify Update Success](step-4-verify-update-success)


Please commit your changes or stash them before you merge
Aborting


<img width="437" alt="git_pull_fail" src="https://github.com/Doodleverse/CoastSeg/assets/61564689/fd7ebceb-11f4-4c68-8aad-19f4d5f85030">

3. Run the command below:

- **WARNING** This will clear out anything you have written to the `certifications.json` make sure to save that file to a new location then move it back when you're done upgrading


git fetch origin
git reset --hard origin/main
git pull origin main

Step 5: Verify Update Success

git status

- This command should return the following message
-
On branch main
Your branch is up to date with 'origin/main'.


Please refer to the CoastSeg's [readme file](https://github.com/Doodleverse/CoastSeg/README.md) for more information about installing and configuring.

Feedback

We are eager to hear about your experiences with this new release. Please provide your feedback, file issues, or contribute a pull request on our [GitHub page](https://github.com/Doodleverse/CoastSeg/issues).

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.