Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fireatlas_nrt
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gcorradini
fireatlas_nrt
Commits
ae6f13eb
Commit
ae6f13eb
authored
2 years ago
by
Katrina Sharonin
Browse files
Options
Downloads
Patches
Plain Diff
new microm dps run sh script, test for dps
parent
50b17b79
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
maap_runtime/creek_global_esa_lct/algorithm_config.yaml
+1
-1
1 addition, 1 deletion
maap_runtime/creek_global_esa_lct/algorithm_config.yaml
run_dps_micro.sh
+4
-4
4 additions, 4 deletions
run_dps_micro.sh
run_micro_dps.sh
+24
-0
24 additions, 0 deletions
run_micro_dps.sh
with
29 additions
and
5 deletions
maap_runtime/creek_global_esa_lct/algorithm_config.yaml
+
1
−
1
View file @
ae6f13eb
...
...
@@ -16,7 +16,7 @@ queue: "maap-dps-worker-8gb"
description
:
"
Use
ESA
Global
Land
Cover
Dataset
for
Creek
Sample
Run."
# path to the wrapper script for running the algorithm
# Command starts with repository name
run_command
:
"
fireatlas_nrt/run_
dps_
micro.sh"
run_command
:
"
fireatlas_nrt/run_micro
_dps
.sh"
# build_command: my-build-script.sh
# set a storage value in GB or MB or KB, e.g. "100GB", "20MB", "10KB"
disk_space
:
"
10GB"
...
...
This diff is collapsed.
Click to expand it.
run_dps_micro.sh
+
4
−
4
View file @
ae6f13eb
...
...
@@ -8,9 +8,9 @@ echo "Initial working directory: $(pwd -P)"
# install micromamba
curl micro.mamba.pm/install.sh | bash
export
MAMBA_ROOT_PREFIX
=
"/projects/micromamba"
# optional, defaults to ~/micromamba
eval
"
$(
/projects
/.local/bin/micromamba shell hook
-s
posix
)
"
echo
"micromamba version:
$(
micromamba
--version
)
"
#
export MAMBA_ROOT_PREFIX="/projects/micromamba" # optional, defaults to ~/micromamba
eval
"
$(
$basedir
/.local/bin/micromamba shell hook
-s
posix
)
"
#
echo "micromamba version: $(micromamba --version)"
echo
"conda:
$(
which conda
)
"
...
...
@@ -19,7 +19,7 @@ echo "conda: $(which conda)"
if
[
!
-d
"/projects/micromamba/envs/rio-tiler-new"
]
;
then
micromamba create
-f
"
/projects
/rio-tiler-new.yml"
-p
"/projects/micromamba/envs/rio-tiler-new"
micromamba create
-f
"
$basedir
/rio-tiler-new.yml"
-p
"/projects/micromamba/envs/rio-tiler-new"
fi
# conda prefix check
...
...
This diff is collapsed.
Click to expand it.
run_micro_dps.sh
0 → 100644
+
24
−
0
View file @
ae6f13eb
#!/bin/bash
# set -euxo pipefail
set
-eo
pipefail
# base dir set
basedir
=
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
echo
"Basedir:
$basedir
"
echo
"Initial working directory:
$(
pwd
-P
)
"
# install micromamba
curl micro.mamba.pm/install.sh | bash
# set variables
MAMBA_EXE
=
"
$basedir
/micromamba"
# path to micromamba binary
MY_MAMBA_ENV
=
"
$basedir
/micromamba/envs/rio-tiler-new"
# flag - may need to modify order of arguments
"
$MAMBA_EXE
"
create
-p
"
$MY_MAMBA_ENV
"
"
$basedir
/rio-tiler-new.yml"
# creek sample run with exec
"
$MAMBA_EXE
"
run
-p
"
$MY_MAMBA_ENV
"
python
-u
-c
"import FireRun; FireRun.CreekSamplerun()"
echo
"Done!"
exit
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment