Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
7c2bc11f
Commit
7c2bc11f
authored
Sep 10, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
findproducts
parent
78fe9aa8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
findProducts.py
catalog/management/commands/findProducts.py
+2
-2
No files found.
catalog/management/commands/findProducts.py
View file @
7c2bc11f
...
...
@@ -23,8 +23,8 @@ class Command(BaseCommand):
# products = options['products'].split()
products
=
findProducts
.
findSentinelProducts
(
options
[
'wkt'
][
0
],
options
[
'startDate'
][
0
],
options
[
'endDate'
][
0
],
options
[
'platform'
][
0
],
options
[
'cloud'
][
0
])
pl1c
=
Product_l1c
.
objects
.
all
()
.
filter
(
identifier_in
=
products
)
pl2a
=
Product_l1c
.
objects
.
all
()
.
filter
(
identifier_in
=
pl1c
)
pl1c
=
Product_l1c
.
objects
.
all
()
.
filter
(
identifier_
_
in
=
products
)
pl2a
=
Product_l1c
.
objects
.
all
()
.
filter
(
identifier_
_
in
=
pl1c
)
fileList
=
[
p
.
file_path
for
p
in
pl2a
]
print
fileList
...
...
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