https://github.com/equinor/fmu-sumo-uploader
Upload to Sumo in the FMU context
https://github.com/equinor/fmu-sumo-uploader
data fmu python subsurface sumo
Last synced: 28 days ago
JSON representation
Upload to Sumo in the FMU context
- Host: GitHub
- URL: https://github.com/equinor/fmu-sumo-uploader
- Owner: equinor
- License: apache-2.0
- Created: 2023-10-19T09:46:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T07:13:00.000Z (about 2 years ago)
- Last Synced: 2024-04-12T15:06:34.717Z (about 2 years ago)
- Topics: data, fmu, python, subsurface, sumo
- Language: Python
- Homepage: https://fmu-sumo-uploader.readthedocs.io/en/latest/
- Size: 7.63 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# fmu-sumo-uploader
[](https://fmu-sumo-uploader.readthedocs.io/en/latest/?badge=latest)
[](https://scm-compliance-api.radix.equinor.com/repos/equinor/fmu-sumo-uploader/badge)
[](https://github.com/astral-sh/ruff)
## Documentation and guidelines
[fmu-sumo-uploader documentation](https://fmu-sumo-uploader.readthedocs.io/en/latest/)
## Contribute
[Contribution guidelines](./CONTRIBUTING.md)
## Testing on top of Komodo
fmo-sumo-uploader and [sim2sumo](https://github.com/equinor/fmu-sumo-sim2sumo) are both installed under `fmu/sumo/`.
This means that sim2sumo must also be installed to test a new version of the uploader on top of Komodo.
Example: Installing the uploader from `mybranch` on top of Komodo bleeding
```
# Activate Komodo bleeding, csh
source /prog/res/komodo/bleeding/enable.csh
# or, activate Komodo bleeding, sh
source /prog/res/komodo/bleeding/enable
# Create a new komodo env from komodo bleeding
komodoenv ~/.komodoenv
# Activate the new env, csh
source ~/.komodoenv/enable.csh
# or, Activate the new env, sh
source ~/.komodoenv/enable
pip install git+https://github.com/equinor/fmu-sumo-uploader.git@mybranch
pip install git+https://github.com/equinor/fmu-sumo-sim2sumo.git --force-reinstall
```
The [Explorer](https://github.com/equinor/fmu-sumo) is also installed under `fmu/sumo`. Meaning that if the testing scenario includes the Explorer then it should also be installed on top of Komodo.
```
pip install git+https://github.com/equinor/fmu-sumo.git --force-reinstall
```
>[!NOTE]
> In order to upload to an environment other than `prod`, just set
> the environment variable `SUMO_ENV` accordingly: `setenv SUMO_ENV dev`
> (csh) or `export SUMO_ENV=dev`(sh).
> [!NOTE]
> In order to use the development version of the metadata schema,
> set the environment variable `DEV_SCHEMA`: `setenv DEV_SCHEMA 1` (csh)
> or `export DEV_SCHEMA=1`(sh).