This PR reworks many of the objects per discussion in 11/9 meeting.
obj_setup.ipynb / obj_setup.py
remove Glacier objects that used OGGM gridded data, and requirement to import oggm packages
obj_setup now has methods for creating Glacier, Glacier_Point and Glacier_centerline objects directly from widget click data
obj setup also has a input argument flag called 'creation_type' that specifies whether the object was created from the widget or by manually inputting RGIID, point coords (still want people to be able to create objects this way in case they want to pass a list etc), the creation_type flag matters bc if the object is created from the widget it can inherit the RGI outline already accessed via wfs, if its created manually then that process needs to happen in the object creation call.
Glacier objects now have an input argument that is ITS_LIVE url, this is passed from the widget click and is so glacier objects can be passed to the inversion
interactive.ipynb/interactive.py
moved the methods for formatting data from a widget click out of this script into obj_setup
inversion.ipynb/inversion.py
got ride of the changes I'd made in this and copied all of the code from Victor's up-to-date version in index.ipynb into this notebook
note: only copied code not markdown cells because I didn't have a raw version of the markdown code that I was sure was up to date
index.ipynb
re organized this so that it will have 2 sections: 1) data access + organization, 2) processing. I filled in the access and organization section with basically walk thru/ explanations of the widget and how to create different objects / what data they contain etc
i was thinking the next section could be the explanation / walk thru of the inversion and other processing steps?
This PR reworks many of the objects per discussion in 11/9 meeting. obj_setup.ipynb / obj_setup.py
Glacier
objects that used OGGM gridded data, and requirement to import oggm packagesGlacier
,Glacier_Point
andGlacier_centerline
objects directly from widget click dataGlacier
objects now have an input argument that is ITS_LIVE url, this is passed from the widget click and is soglacier
objects can be passed to the inversioninteractive.ipynb/interactive.py
inversion.ipynb/inversion.py
index.ipynb