Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gms_preprocessing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geomultisens
gms_preprocessing
Commits
78995967
Commit
78995967
authored
Dec 10, 2020
by
Daniel Scheffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation on how to create jobs from job IDs.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
2b5ea868
Pipeline
#16744
passed with stages
in 22 minutes and 2 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
6 deletions
+30
-6
HISTORY.rst
HISTORY.rst
+1
-0
docs/usage/create_new_jobs.rst
docs/usage/create_new_jobs.rst
+27
-4
gms_preprocessing/version.py
gms_preprocessing/version.py
+2
-2
No files found.
HISTORY.rst
View file @
78995967
...
...
@@ -9,6 +9,7 @@ History
* Added URL checker and corresponding CI job.
* Removed travis related files.
* Fixed dead URLs.
* Added documentation on how to create jobs from job IDs.
0.19.3 (2020-12-03)
...
...
docs/usage/create_new_jobs.rst
View file @
78995967
...
...
@@ -30,7 +30,8 @@ There are multiple ways to create new jobs depending on what you have. The secti
Create a job from a list of filenames
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The list of filenames refers to the filenames of the previously downloaded provider archive data.
The list of filenames refers to the filenames of the previously downloaded provider archive data
(see :meth:`gms_preprocessing.misc.database_tools.GMS_JOB.from_filenames` for details).
.. code-block:: python
...
...
@@ -60,16 +61,38 @@ The list of filenames refers to the filenames of the previously downloaded provi
Create a job from a list of entity IDs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- TODO
- TODO
(see :meth:`gms_preprocessing.misc.database_tools.GMS_JOB.from_entityIDlist` for details)
Create a job from a list of scene IDs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- TODO
If you have a list of GeoMultiSens scene IDs, you can also create a new processing job for them
(see :meth:`gms_preprocessing.misc.database_tools.GMS_JOB.from_sceneIDlist` for details):
.. code-block:: python
from gms_preprocessing.options.config import get_conn_database
from gms_preprocessing.misc.database_tools import GMS_JOB
job = GMS_JOB(conn_db=get_conn_database('localhost'))
job.from_sceneIDlist(list_sceneIDs=[9390928,],
virtual_sensor_id=1
comment='Example job for only one scene with the ID 9390928.')
# write the job into the GeoMultiSens metadata database
job.create()
.. code-block:: bash
OUT:
New job created successfully. job-ID: 26193458
The job contains:
- 1 Landsat-5 TM scene
Create a job from a dictionary
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- TODO
- TODO
(see :meth:`gms_preprocessing.misc.database_tools.GMS_JOB.from_dictlist` for details)
gms_preprocessing/version.py
View file @
78995967
...
...
@@ -24,5 +24,5 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__
=
'0.19.
3
'
__versionalias__
=
'202012
03
.01'
__version__
=
'0.19.
4
'
__versionalias__
=
'202012
10
.01'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment