Skip to content

v1.1.28

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jan 16:54
· 373 commits to main since this release

Full Changelog: 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 #214
  • Fixed the issue where the edges of the S2 imagery were being misclassified. (coastsat_package 0.1.43)

S2 Edge Detection Fix

Before
bad_S2
After
good_S2

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
  conda activate coastseg
  1. Go to your coastseg location
 cd <coastseg location>
  1. 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

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

  • If you don't see this output, then run the following command
     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

        Please commit your changes or stash them before you merge
        Aborting
    
    git_pull_fail
  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 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.