Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : CelestLab details
Login with GitLab

CelestLab

CNES Space Mechanics Toolbox for Mission Analysis
(10013 downloads for this version - 113044 downloads for all versions)
Details
Version
3.3.0
A more recent valid version with binaries for Scilab 6.0 exists: 3.3.1
Author
CNES
Owner Organization
CNES
Maintainers
Alain Lamy
Thierry MARTIN
Category
License
Creation Date
October 30, 2018
Source created on
Scilab 6.0.x
Binaries available on
Scilab 6.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("celestlab")
Description
            
******************************************************************************
CelestLab - CNES Space Mechanics Toolbox for Scilab 
Version 3.3.0			     
******************************************************************************

CelestLab is a Scilab toolbox for Space Flight Dynamics. 

It has been developed by CNES (Centre National d'Etudes Spatiales - 
French Space Agency) for mission analysis purposes.

CelestLab can be used for trajectory analysis and orbit
design for various types of space missions. 
It allows engineers to perform tasks such as: orbit propagation, attitude
computation, elementary manoeuvre computation, change of coordinate systems,
...


CelestLab comes with an extension module called CelestLabX.  
The features in CelestLab that require CelestLabX to be installed are
related to: 
- STELA: CNES orbit long-term propagation software
- Two Line Elements 
- MSIS2000 atmospheric model 


Note: 
- CelestLab can be used with Scilab versions 5.5.x and 6.0.x 
- The version of CelestLabX that should be used is 3.3.0 

See: 
- CelestLabX Atoms page for more details about CelestLabX: 
http://atoms.scilab.org/toolboxes/celestlabx

- The detailed changelog in CelestLab menu for more information about what has
changed in CelestLab compared to the previous version. 


===============================================================
Please take one minute to tell the CelestLab team about your usage of the
toolbox. Thank you!

https://framaforms.org/celestlab-usage-quick-survey-1535624276
===============================================================



            
Files (2)
[64.05 MB]
OS-independent binary for Scilab 6.0.x

[57.17 MB]
Source code archive

News (0)
Comments (4)     Leave a comment 
Comment from Samuel Gougeon -- November 28, 2018, 12:10:55 PM    
Hello Alain, Thierry,

I have just installed CelestLab 3.3.0. When i load it, i get the following error:

atomsLoad: An error occurred while loading 'celestlab-3.3.0':
	exec: error on line #36: "libraryinfo: Invalid library utilslib."
at line   335 of function        atomsLoad ( SCI\modules\atoms\macros\atomsLoad.sci line
351 )
at line     1 of executed string 

Regards
Samuel
Answer from Samuel Gougeon -- November 28, 2018, 12:19:32 PM    
In celestlab.start,
root_tlbx = dirname(get_absolute_file_path("celestlab.start"));
That's not right: celestlab.start is in ./etc, not at the root
Answer from Samuel Gougeon -- November 28, 2018, 12:40:22 PM    
>root_tlbx = dirname(get_absolute_file_path("celestlab.start"));

Actually, the result is OK, but unexpected:
We actually get
SCI\contrib\celestlab\3.3.0
while i would expect
SCI\contrib\celestlab\3.3.0\etc
So the issue is elsewhere...

Answer from Alain Lamy -- November 28, 2018, 01:50:44 PM    
> >root_tlbx = dirname(get_absolute_file_path("celestlab.start"));
> 
> Actually, the result is OK, but unexpected:
> We actually get
> SCI\contrib\celestlab\3.3.0
> while i would expect
> SCI\contrib\celestlab\3.3.0\etc
> So the issue is elsewhere...
> 

Hi Samuel, 

About the error: we have never seen it. 
Could it come from the fact that another "utilslib" is already loaded (that could
exist 
in another toolbox)? 
Can you check that ? 
In CelestLab, we pay attention to names in order to limit risks of conflicts, but the 
library names appear to not follow any rule (particular prefix for instance). They 
probably be renammed, I suppose. 

And about root_tlbx = dirname(get_absolute_file_path("celestlab.start"))
I dont see any problem: 
get_absolute_file_path() returns .../etc
and dirname() returns the parent directory = root directory of the toolbox. 

Alain

Answer from Samuel Gougeon -- December 7, 2018, 06:36:33 PM    
Hello Alain,
To answer to a question asked in private: loading Celestlab works as well for me with
Scilab 6.0.1 official. The described error occurs with Scilab 6.0-branch of 2018-11-21.
I removed all other loaded ATOMS modules, and the error still occurs.
Regards
Samuel
Comment from Hiroshi Tachihara -- February 15, 2019, 03:52:12 AM    
Hello

Scilab 6.0.2 has been released. I tried to install CelestLab 3.3.0 through module
management menu  
on Scilab console. Installation has succeeded, but CelestLab can not been loaded when
starting 
Scilab indicating the following message. (Real message is Japanese.)

Warning: function dirname is obsolete.
         Use fileparts instead.
         This function will be deleted after Scilab 6.1.0
(Same message appears twice.)

atomsLoad: error occured while loading 'celestlab-3.3.0'.
	exec: error on line #36: "libraryinfo: invalid library utilslib."

I appreciate if you could fix this error.

Regards
Hiroshi
Comment from Alain Lamy -- February 20, 2019, 01:41:16 PM    
Hello, 

Yes you're right. 
There has been a change in Scilab 6.0.2 regarding libraries names ("whereis" now
returns
the name of the library as it was given when the library was created). 

There is a workaround: 
in celestlab.start, replace the line: 
libname = stripblanks(part("CLlib" + d, 1:18));
by: 
libname = convstr(d, "l") + "lib";

But this change is not safe as conflicts with other libraries may occur. 
That's why we have also changed the libraries names at the creation level.   

There is another problem with CelestLabX in Scilab 6.0.2 due to a new bug (#15967), and
the workaround is less simple. 

That's why it would be simpler if you can live with scilab 6.0.1 and the existing
CelestLab version for a while.  
We'll update CelestLab as soon as possible, but not in the next 2 weeks. 

Best regards, 

Alain
Answer from Merkel Alexander -- April 23, 2019, 10:42:08 AM    
> Hello, 
> 
> Yes you're right. 
> There has been a change in Scilab 6.0.2 regarding libraries names
("whereis"
> now returns
> the name of the library as it was given when the library was created). 
> 
> There is a workaround: 
> in celestlab.start, replace the line: 
> libname = stripblanks(part("CLlib" + d, 1:18));
> by: 
> libname = convstr(d, "l") + "lib";
> 
> But this change is not safe as conflicts with other libraries may occur. 
> That's why we have also changed the libraries names at the creation level.   
> 
> There is another problem with CelestLabX in Scilab 6.0.2 due to a new bug (#15967),
and
> the workaround is less simple. 
> 
> That's why it would be simpler if you can live with scilab 6.0.1 and the existing
> CelestLab version for a while.  
> We'll update CelestLab as soon as possible, but not in the next 2 weeks. 
> 
> Best regards, 
> 
> Alain

Hi Alain,

any news on the updated version? When I try to load CelestLab & CelestLabX in Scilab
6.0.2
(64bit, Win), I get the following error messages:

WARNING: Feature dirname is obsolete.
WARNING: Please use fileparts instead.
WARNING: This feature will be permanently removed in Scilab 6.1.0
WARNING: Feature dirname is obsolete.
WARNING: Please use fileparts instead.
WARNING: This feature will be permanently removed in Scilab 6.1.0
atomsLoad: An error occurred while loading 'celestlab-3.3.0':
	exec: error on line #36: "libraryinfo: Invalid library utilslib."
WARNING: Feature dirname is obsolete.
WARNING: Please use fileparts instead.
WARNING: This feature will be permanently removed in Scilab 6.1.0
Start CelestLabX
	Load macros
	Load gateways
	Load configurationatomsLoad: An error occurred while loading 'celestlabx-3.3.0':
	exec: error on line #36: "libraryinfo: Invalid library celestlabxlib."

I think those are the same errors you commented on earlier.

Thanks for your work on CelestLab.
Cheers,
Alex
Comment from Alain Lamy -- May 20, 2019, 07:00:44 PM    
Hi Alexander, 

Sorry for the late answer. 
Yes changes in Scilab have made CelestLab incompatible with the latest Scilab version
(6.0.2). 
The release of a new CelestLab version compatible with Scilab 6.0.2 has been delayed for
various reasons. But now it is ready: a new version will be available in the next few days.


Alain
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.