SatelliteShorelines / coastsat_package

prototype pypi package for coastsat
https://pypi.org/project/coastsat-package/
GNU General Public License v3.0
6 stars 1 forks source link

example_jupyter.ipynb notebook output.pkl file #15

Closed HelenD12 closed 5 months ago

HelenD12 commented 5 months ago

The example_jupyter.ipynb notebook works fine until section 3. Shoreline analysis

  1. Shoreline analysis In this section we show how to compute time-series of cross-shore distance along user-defined shore-normal transects. If you have already mapped the shorelines, just load the output file (output.pkl) by running the section below

Except the below section generates a .json file.

I have amended this code to generate a output.pkl file.

However when I get down to section 5. Time-series post processing I get the following error message. keys in output dictionary: Index(['date', 'satname', 'geoaccuracy', 'cloud cover', 'geometry'], dtype='object') The expected keys 'shorelines' and/or 'dates' are not in the output dictionary.

If anyone is able to provide any assistance that would be fantastic as I am not sure where I am going wrong with this.

HelenD12 commented 5 months ago

I have edited the code and fixed this issue. I will post the complete notebook on Github for Start Bay in UK.