GeoEDF Publication Wizard is a Jupyter Notebook application designed to assist users in preparing and submitting publications. This application allows users to select files, extract metadata, review publication information, and submit the publication through the user interface.
-
Publish to the Portal:
- Select file(s) from current Jupyter Notebook
- Extract basic information like user's email, user's
JUPYTERHUB_API_TOKEN
from Jupyter environment variables - Copy file(s) from original directory to staging area
- Publish file(s) using the GeoEDF portal's API.
- (The file(s) will be copied to persistent area by the next steps.)
-
Track Publishing Tasks:
- Track the status of your previous publications directly from the interface of the app.
- Jump to the resource landing page of a publication in the table
controller.py
: Contains the application logic to handle user interactions and manage the application flow.view.py
: Manages the user interface components, adjusting the tabs/screens, style and layoutmodel.py
: Defines the data structure and methods to manage the properties of a publication.utils.py
: Provides utility functions to interact with external resources and services, like copying directories and sending publication requests through the portal's API.notebook.ipynb
: The Jupyter Notebook where the application is executed, which initializes and starts the application.
conda env create --file environment.yml
conda activate nbtmpl
- (If test locally, specify a valid local
base_dir
fornb/view.py:236
) jupyter-lab
- Run the notebook
notebook.ipynb
in Jupyter Lab by opening the "Run" menu and selecting "Restart Kernel and Run All Cells..". Then press the the "Restart" button that appears. This will allow you to view any exceptions and errors.
conda activate nbtmpl
voila notebook.ipynb
. A browser window shoudd open and run the app. If the app doesn't run enter URL "http://localhost:8866/".
Many thanks to Rob Campbell and I Luk Kim for their help and contributions to this project!