Name
CL_dat_cjd2jd — CNES Julian date to Julian date
Calling Sequence
jd = CL_dat_cjd2jd(cjd)
Description
-
This function converts a CNES Julian date (number of fractionnal days since January 1st 1950) into a Julian date (number of fractionnal days since noon UT on January 1st 4713 BC)
The fractional part of jd (jd-int(jd)) gives the time of the day since noon UT as a decimal fraction of one day with 0.5 representing midnight UT.
The fractional part of cjd (cjd-int(cjd)) gives the time of the day as a decimal fraction of one day with 0.5 representing midday UT.
- Last update : 27/6/2008
Parameters
- cjd:
CNES Julian date (number of fractionnal days since January 1st 1950) (1xN)
- jd:
Julian date (number of fractionnal days since noon UT on 1 January 4713 BC) (1xN)
Bibliography
1 Mecanique spatiale, CNES - Cepadues 1995, Chapitre 3, section 3.3.3 Les annees
Examples
// Example 1
CL_dat_cjd2jd([20000;20001])
// Example 2
cjd=[18262.5 18000];
jd = CL_dat_cjd2jd(cjd);
cjd2 = CL_dat_jd2cjd(jd);