Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nanospace-demo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nanostar
nanospace
nanospace-demo
Commits
a3510ea5
Commit
a3510ea5
authored
3 years ago
by
GATEAU Thibault
Browse files
Options
Downloads
Patches
Plain Diff
[dev] update on the altitude example
parent
c2bd9e38
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/Tutorial_NSS.json
+1
-1
1 addition, 1 deletion
examples/Tutorial_NSS.json
pythonAPI/example.py
+3
-3
3 additions, 3 deletions
pythonAPI/example.py
with
4 additions
and
4 deletions
examples/Tutorial_NSS.json
+
1
−
1
View file @
a3510ea5
{
"creationDateTime"
:
"2021-03-15T10:55:57.277"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Tutorial_NSS"
,
"text"
:
"Tutorial_NSS"
,
"description"
:
"Project end tutorial"
,
"type"
:
"project"
,
"responsibles"
:[],
"children"
:[{
"creationDateTime"
:
"2021-03-15T10:59:11.706"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"refresh"
,
"text"
:
"refresh"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T10:59:11.714"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[]}]},{
"creationDateTime"
:
"2021-03-15T10:58:40.449"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"OrbitalParameters"
,
"text"
:
"OrbitalParameters"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T10:58:40.484"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:00:39.74"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Type"
,
"text"
:
"Type"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"SSO"
},{
"creationDateTime"
:
"2021-03-15T10:58:59.438"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"altitude"
,
"text"
:
"altitude"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"600.0"
,
"formula"
:
"600"
},{
"creationDateTime"
:
"2021-03-15T11:01:39.619"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"e"
,
"text"
:
"e"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-15T11:02:15.706"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"SMA"
,
"text"
:
"SMA"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"6978.0"
,
"formula"
:
"6978"
},{
"creationDateTime"
:
"2021-03-15T11:27:39.867"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Mission_duration(year)"
,
"text"
:
"Mission duration(year)"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.0"
,
"formula"
:
"1"
},{
"creationDateTime"
:
"2021-03-15T11:34:09.454"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"Inital_Epoch_(readable)"
,
"text"
:
"Inital Epoch (readable)"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"May 11 2021, 15:00"
},{
"creationDateTime"
:
"2021-03-15T11:34:23.361"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"ET"
,
"text"
:
"ET"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"6.748812671851336E8"
,
"formula"
:
"6.748812671851336e8"
},{
"creationDateTime"
:
"2021-03-15T15:01:35.522"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"inclination"
,
"text"
:
"inclination"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.70671372953257"
,
"formula"
:
"1.706713729532570"
},{
"creationDateTime"
:
"2021-03-15T15:01:51.169"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"RAAN"
,
"text"
:
"RAAN"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.018015962095829"
,
"formula"
:
"1.018015962095829"
},{
"creationDateTime"
:
"2021-03-15T15:02:11.719"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"AOP"
,
"text"
:
"AOP"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-15T15:02:27.59"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.127"
,
"name"
:
"true_anomaly"
,
"text"
:
"true anomaly"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-16T13:19:22.646"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"inclination_deg"
,
"text"
:
"RAAN_rad"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"97.7875138833632"
,
"formula"
:
"Get(1317)*180/3.141592"
},{
"creationDateTime"
:
"2021-03-16T13:22:07.582"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"RAAN_deg"
,
"text"
:
"RAAN_deg"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"58.32803023984311"
,
"formula"
:
"Get(1318)*180/3.141592"
}]}]},{
"creationDateTime"
:
"2021-03-15T11:04:33.686"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Activity_profile"
,
"text"
:
"Activity_profile"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T11:04:33.692"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:05:02.561"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"ActivityDefault"
,
"text"
:
"ActivityDefault"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"data/activity01.txt"
}]}]},{
"creationDateTime"
:
"2021-03-15T11:26:38.213"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Radiation"
,
"text"
:
"Radiation"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T11:26:38.218"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:27:25.755"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Mission_duration"
,
"text"
:
"Mission duration"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"NaN"
,
"formula"
:
"1*[year]"
},{
"creationDateTime"
:
"2021-03-15T11:27:04.653"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Radiation_receive"
,
"text"
:
"Radiation_receive"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"NaN"
,
"formula"
:
"XXX radiation doses"
}]}]},{
"creationDateTime"
:
"2021-03-16T10:39:12.674"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"admin"
,
"text"
:
"admin"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T10:39:12.703"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T10:39:35.254"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Satellite_name"
,
"text"
:
"Satellite_name"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"Nanostar-sat"
}]}]},{
"creationDateTime"
:
"2021-03-16T12:06:13.981"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"GroundSegment"
,
"text"
:
"GroundSegment"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[{
"creationDateTime"
:
"2021-03-16T12:06:38.745"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"ControlCenter"
,
"text"
:
"ControlCenter"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T12:06:38.75"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T12:07:46.671"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Latitude"
,
"text"
:
"Latitude"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"40.45° N"
},{
"creationDateTime"
:
"2021-03-16T12:07:24.312"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"longitude"
,
"text"
:
"longitude"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"4.46° W"
},{
"creationDateTime"
:
"2021-03-16T12:08:05.539"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Altitude"
,
"text"
:
"Altitude"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"755.0"
,
"formula"
:
"755*[m]"
}]}]}],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T12:06:13.987"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T12:06:28.107"
,
"lastUpdateDateTime"
:
"2021-04-09T16:00:34.128"
,
"name"
:
"StationName"
,
"text"
:
"StationName"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"Madrid"
}]}]}]}
\ No newline at end of file
{
"creationDateTime"
:
"2021-03-15T10:55:57.277"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.84"
,
"name"
:
"Tutorial_NSS"
,
"text"
:
"Tutorial_NSS"
,
"description"
:
"Project end tutorial"
,
"type"
:
"project"
,
"responsibles"
:[],
"children"
:[{
"creationDateTime"
:
"2021-03-15T10:59:11.706"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.84"
,
"name"
:
"refresh"
,
"text"
:
"refresh"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T10:59:11.714"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[]}]},{
"creationDateTime"
:
"2021-03-15T10:58:40.449"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"OrbitalParameters"
,
"text"
:
"OrbitalParameters"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T10:58:40.484"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:00:39.74"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Type"
,
"text"
:
"Type"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"SSO"
},{
"creationDateTime"
:
"2021-03-15T10:58:59.438"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"altitude"
,
"text"
:
"altitude"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"600000.0"
,
"formula"
:
"600*[km]"
},{
"creationDateTime"
:
"2021-03-15T11:01:39.619"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"e"
,
"text"
:
"e"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-15T11:02:15.706"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"SMA"
,
"text"
:
"SMA"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"6978.0"
,
"formula"
:
"6978"
},{
"creationDateTime"
:
"2021-03-15T11:27:39.867"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Mission_duration(year)"
,
"text"
:
"Mission duration(year)"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.0"
,
"formula"
:
"1"
},{
"creationDateTime"
:
"2021-03-15T11:34:09.454"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Inital_Epoch_(readable)"
,
"text"
:
"Inital Epoch (readable)"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"May 11 2021, 15:00"
},{
"creationDateTime"
:
"2021-03-15T11:34:23.361"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"ET"
,
"text"
:
"ET"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"6.748812671851336E8"
,
"formula"
:
"6.748812671851336e8"
},{
"creationDateTime"
:
"2021-03-15T15:01:35.522"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"inclination"
,
"text"
:
"inclination"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.70671372953257"
,
"formula"
:
"1.706713729532570"
},{
"creationDateTime"
:
"2021-03-15T15:01:51.169"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"RAAN"
,
"text"
:
"RAAN"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"1.018015962095829"
,
"formula"
:
"1.018015962095829"
},{
"creationDateTime"
:
"2021-03-15T15:02:11.719"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"AOP"
,
"text"
:
"AOP"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-15T15:02:27.59"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"true_anomaly"
,
"text"
:
"true anomaly"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"0.0"
,
"formula"
:
"0.0"
},{
"creationDateTime"
:
"2021-03-16T13:19:22.646"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"inclination_deg"
,
"text"
:
"RAAN_rad"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"97.7875138833632"
,
"formula"
:
"Get(1317)*180/3.141592"
},{
"creationDateTime"
:
"2021-03-16T13:22:07.582"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"RAAN_deg"
,
"text"
:
"RAAN_deg"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"58.32803023984311"
,
"formula"
:
"Get(1318)*180/3.141592"
},{
"creationDateTime"
:
"2021-08-02T18:06:40.95"
,
"lastUpdateDateTime"
:
"2021-08-02T18:06:40.95"
,
"name"
:
"altitude_km"
,
"text"
:
"altitude_km"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"600.0"
,
"formula"
:
"Get(1295)/1000"
}]}]},{
"creationDateTime"
:
"2021-03-15T11:04:33.686"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Activity_profile"
,
"text"
:
"Activity_profile"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T11:04:33.692"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:05:02.561"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"ActivityDefault"
,
"text"
:
"ActivityDefault"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"data/activity01.txt"
}]}]},{
"creationDateTime"
:
"2021-03-15T11:26:38.213"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Radiation"
,
"text"
:
"Radiation"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-15T11:26:38.218"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-15T11:27:25.755"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Mission_duration"
,
"text"
:
"Mission duration"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"NaN"
,
"formula"
:
"1*[year]"
},{
"creationDateTime"
:
"2021-03-15T11:27:04.653"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Radiation_receive"
,
"text"
:
"Radiation_receive"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"NaN"
,
"formula"
:
"XXX radiation doses"
}]}]},{
"creationDateTime"
:
"2021-03-16T10:39:12.674"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"admin"
,
"text"
:
"admin"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T10:39:12.703"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T10:39:35.254"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Satellite_name"
,
"text"
:
"Satellite_name"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"Nanostar-sat"
}]}]},{
"creationDateTime"
:
"2021-03-16T12:06:13.981"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"GroundSegment"
,
"text"
:
"GroundSegment"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[{
"creationDateTime"
:
"2021-03-16T12:06:38.745"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"ControlCenter"
,
"text"
:
"ControlCenter"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T12:06:38.75"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T12:07:46.671"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Latitude"
,
"text"
:
"Latitude"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"40.45° N"
},{
"creationDateTime"
:
"2021-03-16T12:07:24.312"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"longitude"
,
"text"
:
"longitude"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"4.46° W"
},{
"creationDateTime"
:
"2021-03-16T12:08:05.539"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Altitude"
,
"text"
:
"Altitude"
,
"description"
:
""
,
"type"
:
"formula_value"
,
"responsibles"
:[],
"value"
:
"755.0"
,
"formula"
:
"755*[m]"
}]}]}],
"modesChildren"
:[{
"creationDateTime"
:
"2021-03-16T12:06:13.987"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[{
"creationDateTime"
:
"2021-03-16T12:06:28.107"
,
"lastUpdateDateTime"
:
"2021-05-03T10:57:35.841"
,
"name"
:
"StationName"
,
"text"
:
"StationName"
,
"description"
:
""
,
"type"
:
"string_value"
,
"responsibles"
:[],
"value"
:
"Madrid"
}]}]},{
"creationDateTime"
:
"2021-08-02T18:08:05.849"
,
"lastUpdateDateTime"
:
"2021-08-02T18:08:05.849"
,
"name"
:
"Telecom"
,
"text"
:
"Telecom"
,
"description"
:
""
,
"type"
:
"component"
,
"responsibles"
:[],
"children"
:[],
"modesChildren"
:[{
"creationDateTime"
:
"2021-08-02T18:08:05.866"
,
"lastUpdateDateTime"
:
"2021-08-02T18:08:05.866"
,
"name"
:
"Nominal"
,
"text"
:
"Nominal"
,
"description"
:
""
,
"type"
:
"mode"
,
"responsibles"
:[],
"values"
:[]}]}]}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pythonAPI/example.py
+
3
−
3
View file @
a3510ea5
...
...
@@ -3,12 +3,12 @@
from
optparse
import
OptionParser
import
sys
,
traceback
defaultAltitudeID
=
466
defaultAltitudeID
=
1295
defaultAltitudeValue
=
424.0370523579581
#defaultServer = 'http://dcas-devel-1/api/'
defaultServer
=
'
https://dcas-nanostar.isae.fr/api/
'
defaultUser
=
'
t
est
'
defaultPwd
=
'
t
est
'
defaultUser
=
'
t
g
'
defaultPwd
=
'
t
g
'
parser
=
OptionParser
()
parser
.
add_option
(
"
-i
"
,
"
--altitudeID
"
,
dest
=
"
altitudeID
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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