Coastseg

Latest version: v1.2.7

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

Scan your dependencies

Page 6 of 14

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).

1.1.26

Upgrading the `SDS_coastsat_classifier.ipynb` notebook
1. Open the `SDS_coastsat_classifier.ipynb` notebook
2. 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)

3. Open anaconda prompt
4. Go to your coastseg location
5. Run `git pull origin main`
- If you got the error below:

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

- **How to fix this error**

git remote add origin https://github.com/Doodleverse/CoastSeg.git`
git pull origin main

- If you get error saying you have changes in your branch run the following commands
- ⚠️ 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

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.25

Upgrading the `SDS_coastsat_classifier.ipynb` notebook
1. Open the `SDS_coastsat_classifier.ipynb` notebook
2. 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)

3. Open anaconda prompt
4. Go to your coastseg location
5. Run `git pull origin main`
- If you got the error below:

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

- **How to fix this error**

git remote add origin https://github.com/Doodleverse/CoastSeg.git`
git pull origin main

- If you get error saying you have changes in your branch run the following commands
- ⚠️ 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

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.24

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 6 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.