Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-soda
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
ViaLactea
vlkb-soda
Commits
53bb8cd3
Commit
53bb8cd3
authored
1 year ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
adds empty placeholder for doCli() for doMCutout() by ExecCmd
parent
eda36443
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data-access/servlet/src/main/java/cutout/DatasetsImpl.java
+31
-2
31 additions, 2 deletions
data-access/servlet/src/main/java/cutout/DatasetsImpl.java
with
31 additions
and
2 deletions
data-access/servlet/src/main/java/cutout/DatasetsImpl.java
+
31
−
2
View file @
53bb8cd3
...
...
@@ -78,8 +78,8 @@ class DatasetsImpl implements Datasets
if
(
settings
.
amqpConn
.
isHostnameEmpty
())
{
LOGGER
.
info
(
"doMCutout
in CLI/ExecCmd not implemented
"
);
outJson
=
null
;
LOGGER
.
info
(
"doMCutout
with CLI
"
);
outJson
=
doCli
(
JdlMCutout
.
mcutoutToJson
(
updatedJsonString
)
)
;
}
else
{
...
...
@@ -95,6 +95,7 @@ class DatasetsImpl implements Datasets
/* ================= ALL ================================== */
private
String
doRpc
(
String
InStr
)
{
final
String
userName
=
"guest"
;
...
...
@@ -137,6 +138,34 @@ class DatasetsImpl implements Datasets
}
private
String
doCli
(
String
inStr
)
{
LOGGER
.
info
(
"doMCutout in CLI/ExecCmd not implemented"
);
/*
List<CutResult> cutResList = new ArrayList<CutResult>();
Coord[] coords = Jdl.parseReq(InStr);
for(Coord coord: coords)
{
CutResult cutResult = doFile(coord.relPathname, coord.hdunum,
coord.pos, coord.band, coord.time, coord.pol, coord.pixels,
coord.countNullValues, coord.extraCards);
cutResList.add(cutResult);
}
String outStr = Jdl.encodeToJson(cutResList.toArray());
*/
return
null
;
//outStr;
}
private
String
generateSubimgPathname
(
String
relPathname
,
int
hdunum
)
{
String
cutfitsname
=
"vlkb-cutout"
;
...
...
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