-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs/359 create jupyter notebook that runs ra2ce based on a extend defined by the user #414
Docs/359 create jupyter notebook that runs ra2ce based on a extend defined by the user #414
Conversation
-jupyter notebook as the example -the folder structure with the geojson file that is required in static/network folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the headers being defined so they have a proper hierarchy. In visual studio code you can verify this with the "Outline" view https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view
# Chapter
## Section
### Subsection
#### ...
Once you have fixed this we can have a look together on how to add the document to the ra2ce documentation and merge into master.
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
" ### Download a Network using a polygon" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first header should just be a #
.
Keep in mind that you need to adhere to the title hierarchy so that we can later on add this example into the documentation files (via sphinx)
" ### Download a Network using a polygon" | |
" # Download a Network using a polygon" |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Set parameters and initalize a RA2CE run" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"# Set parameters and initalize a RA2CE run" | |
"## Set parameters and initialize a RA2CE run" |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Explore the results" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"# Explore the results" | |
"## Explore the results" |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Finally we can save our downloaded network to the RA2CE folder setup" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"# Finally we can save our downloaded network to the RA2CE folder setup" | |
"## Finally we can save our downloaded network to the RA2CE folder setup" |
…-ra2ce-based-on-a-extend-defined-by-the-user
…on-a-extend-defined-by-the-user' of https://github.com/Deltares/ra2ce into docs/359-create-jupyter-notebook-that-runs-ra2ce-based-on-a-extend-defined-by-the-user
…ed by the user (#414) * Jupyter Notebook for downloading a network from a polygon - jupyter notebook as the example - the folder structure with the geojson file that is required in static/network folder * doc: updated example for downloading network using a boundary box * docs: updated the headers in the example notebook markdown cells * docs: added jupyter notebook reference to basic_examples * docs: Update headers in markdown cells in the jupyter notebook --------- Co-authored-by: Carles S. Soriano Pérez <carles.sorianoperez@deltares.nl>
Issue addressed
Solves #359
What has been done?
Created an example jupyter notebook where the user can define the extent via a shapely polygon or a geojson file in a local drive and download the road network from OSM.
Checklist
Additional Notes (optional)
Add any additional notes or information that may be helpful.