-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: installation manual and project strutcture
- Loading branch information
1 parent
9ea2c0b
commit dc34e63
Showing
80 changed files
with
4,832 additions
and
479 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.42 KB
(110%)
docs/doctrees/methods/01_tree_detection/project_structure.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-8.8 KB
(71%)
docs/doctrees/methods/02_support_tools/README_integration.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+3.13 KB
(120%)
docs/doctrees/methods/02_support_tools/project_structure.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
docs/html/_sources/methods/01_tree_detection/project_structure.md.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
docs/html/_sources/methods/02_support_tools/README.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
============================== | ||
Task X | Title | ||
============================== | ||
|
||
This repository provides a workflow for ... | ||
|
||
Code is provided for the following tasks: | ||
|
||
1. **Tekst here :** ... | ||
|
||
2. **Tekst here:** ... | ||
|
||
The repository is applied on the Norwegian municipalities: *Bærum, Bodø, Kristiansand* and *Oslo.* | ||
|
||
|
||
Installation | ||
------------ | ||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: View the installation manual and project structure for instructions. | ||
|
||
installation_manual | ||
project_structure | ||
|
||
|
||
|
||
Data | ||
---- | ||
|
||
|
||
Methods | ||
------- | ||
|
||
|
||
**References** | ||
|
||
- ref here | ||
- ref here | ||
|
||
**Contributors** | ||
|
||
- Willeke A'Campo (NINA), [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
docs/html/_sources/methods/02_support_tools/installation_manual.md.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Installation Manual | *itree-support-tools* | ||
|
||
**GitHub Repository**: [itree-support-tools](https://github.com/NINAnor/itree-support-tools) | ||
|
||
## Installation | ||
|
||
The code is build in an ArcGIS Pro 3.1.0. conda environment with the spatial analyst license enabled. | ||
|
||
1. Clone the repository. | ||
3. Open [Project structure](project_structure.md) to view the structure of the project. | ||
4. Set up your Python Environment: | ||
|
||
a. Create a new conda environment using the `environment.yml` file or clone the arcgispro-py3 environment from your ArcGIS Pro installation and install the required packages listed in the `requirements.txt` file. | ||
```bash | ||
cd path/to/project/folder | ||
conda env create -f environment.yml | ||
conda activate project-name | ||
``` | ||
|
||
b. (Optional) Install linters using pipx | ||
```bash | ||
# install linters using pipx | ||
make install-global | ||
# test linters | ||
make codestyle | ||
``` | ||
|
||
**note:** As `pre-commit` unfortunately often gives acces-denied errors on Windows OS, I would recommend to run `make codestyle` command before you commit your changes. This command runs black, isort and ruff on all files using the configuration specified in the [pyproject.toml](pyproject.toml) file. | ||
|
||
c. Install as a local package | ||
```bash | ||
pip install . | ||
pip install -e . # for development | ||
``` | ||
- installs project packages in development mode | ||
- creates a folder **package-name.egg-info** | ||
|
||
## Configuration | ||
|
||
1. Copy template.env to $user/.env and fill in the variables. | ||
*ENSURE THAT YOU DO NOT COMMIT .ENV TO THE REPOSITORY* | ||
|
||
2. Check that your data is located in the correct folders, look at the [Project structure](docs/project_structure.md) and the [Catalog](config/catalog.yaml) for more details. | ||
|
||
3. Define your municipality in the [parameters](config/parameters.yaml) file. | ||
|
||
4. Run `config.py` in the conda env to test your project config. | ||
------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.