Commit e83efc8e authored by David Keitel's avatar David Keitel

update lalapps/src/pulsar uvar defaults to 00-40 ephems

 -except for Weave/WeaveSetup.c because of test failures
 -refs https://git.ligo.org/CW/lalsuite/issues/47
parent c1f9fb2d
......@@ -1733,8 +1733,8 @@ void initUserVars (LALStatus *status)
uvar_brakingindexResolution = uvar_brakingindex/10.0;
uvar_fRef = 1.0;
uvar_ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar_ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar_dirnameOut = (CHAR *)LALCalloc( MAXFILENAMELENGTH , sizeof(CHAR));
strcpy(uvar_dirnameOut,DIROUT);
......
......@@ -984,8 +984,8 @@ int XLALInitUserVars (UserInput_t *uvar)
uvar->mismatchT = 0.1;
uvar->mismatchP = 0.1;
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->sftLocation = XLALCalloc(1, MAXFILENAMELENGTH+1);
......
......@@ -122,8 +122,8 @@ main ( int argc, char *argv[] )
uvar->Dterms = 8;
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->randSeed = 1;
XLAL_CHECK_MAIN ( (uvar->IFOs = XLALCreateStringVector ( "H1", NULL )) != NULL, XLAL_EFUNC );
......
......@@ -114,8 +114,8 @@ int main(int argc, char *argv[]) {
INT8 MC_trials_reset;
gsl_vector_int *twoF_pdf_hist = NULL;
ephem_earth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
ephem_sun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
ephem_earth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
ephem_sun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
/* Initialise LAL error handler */
lal_errhandler = LAL_ERR_EXIT;
......
......@@ -950,8 +950,8 @@ initUserVars ( UserInput_t *uvar )
// Dterms-default used to be 16, but has to be 8 for SSE version
uvar->Dterms = 8;
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->assumeSqrtSX = NULL;
uvar->SignalOnly = 0;
......
......@@ -227,8 +227,8 @@ initUserVars ( UserInput_t *uvar )
/* set a few defaults */
uvar->RngMedWindow = 50; /* for running-median */
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->outputFstat = NULL;
uvar->printFstat = 1;
......
......@@ -225,8 +225,8 @@ InitUserVars (LALStatus *status, struct CommandLineArgsTag *CLA)
CLA->sqrtSh=1.0;
/** Default year-span of ephemeris-files to be used */
CLA->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
CLA->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
CLA->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
CLA->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
/* ---------- register all our user-variable ---------- */
XLAL_CHECK_LAL( status, XLALRegisterNamedUvar(&(CLA->Alpha), "Alpha", REAL8, 'a', OPTIONAL, "Sky position Alpha (equatorial coordinates) in radians") == XLAL_SUCCESS, XLAL_EFUNC);
......
......@@ -409,8 +409,8 @@ XLALInitUserVars ( UserInput_t *uvar )
uvar->dataStartGPS = 814838413; /* 1 Nov 2005, ~ start of S5 */
uvar->dataDuration = (INT4) round ( LAL_YRSID_SI ) ; /* 1 year of data */
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->numDraws = 1;
uvar->TAtom = 1800;
......
......@@ -490,8 +490,8 @@ XLALInitUserVars ( UserInput_t *uvar )
uvar->dataStartGPS = 814838413; /* 1 Nov 2005, ~ start of S5 */
uvar->dataDuration = (INT4) round ( LAL_YRSID_SI ); /* 1 year of data */
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->numDraws = 1;
uvar->TAtom = 1800;
......
......@@ -480,8 +480,8 @@ int MAIN( int argc, char *argv[]) {
// XLALReadSegmentsFromFile(): continue to support deprecated 4-column format (startGPS endGPS duration NumSFTs, duration is ignored)
XLALReadSegmentsFromFile_support_4column_format = 1;
uvar_ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar_ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar_skyRegion = LALCalloc( strlen(SKYREGION) + 1, sizeof(CHAR) );
strcpy(uvar_skyRegion, SKYREGION);
......
......@@ -51,9 +51,9 @@
2004) */
#define NUM 1000
#define EARTHFILE "earth00-19-DE200.dat.gz"
#define SUNFILE "sun00-19-DE200.dat.gz"
#define TIMEFILE "tdb_2000-2019.dat.gz"
#define EARTHFILE "earth00-40-DE200.dat.gz"
#define SUNFILE "sun00-40-DE200.dat.gz"
#define TIMEFILE "tdb_2000-2040.dat.gz"
int main(int argc, char *argv[]){
static LALStatus status;
......
......@@ -232,14 +232,14 @@ int main( int argc, char **argv ){
}
/* load all types of ephemeris files, as uses little RAM/computational effort, and different parfiles may use a combination */
if ( (int)sizeof(outputFilename) <= snprintf(earthfile200, FILENAME_MAXLEN, "%s/earth00-19-DE200.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile200, FILENAME_MAXLEN, "%s/sun00-19-DE200.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile405, FILENAME_MAXLEN, "%s/earth00-19-DE405.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile405, FILENAME_MAXLEN, "%s/sun00-19-DE405.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile414, FILENAME_MAXLEN, "%s/earth00-19-DE414.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile414, FILENAME_MAXLEN, "%s/sun00-19-DE414.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile421, FILENAME_MAXLEN, "%s/earth00-19-DE421.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile421, FILENAME_MAXLEN, "%s/sun00-19-DE421.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile200, FILENAME_MAXLEN, "%s/earth00-40-DE200.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile200, FILENAME_MAXLEN, "%s/sun00-40-DE200.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile405, FILENAME_MAXLEN, "%s/earth00-40-DE405.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile405, FILENAME_MAXLEN, "%s/sun00-40-DE405.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(earthfile414, FILENAME_MAXLEN, "%s/earth00-19-DE414.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); } /* no earth00-40-DE414 available */
if ( (int)sizeof(outputFilename) <= snprintf(sunfile414, FILENAME_MAXLEN, "%s/sun00-19-DE414.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); } /* no sun00-40-DE414 available */
if ( (int)sizeof(outputFilename) <= snprintf(earthfile421, FILENAME_MAXLEN, "%s/earth00-40-DE421.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(sunfile421, FILENAME_MAXLEN, "%s/sun00-40-DE421.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
edat200 = XLALMalloc(sizeof(*edat200));
edat405 = XLALMalloc(sizeof(*edat405));
......@@ -247,8 +247,8 @@ int main( int argc, char **argv ){
edat421 = XLALMalloc(sizeof(*edat421));
/* Load time correction files. */
if ( (int)sizeof(outputFilename) <= snprintf(timefileTDB, FILENAME_MAXLEN, "%s/tdb_2000-2019.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(timefileTE405, FILENAME_MAXLEN, "%s/te405_2000-2019.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(timefileTDB, FILENAME_MAXLEN, "%s/tdb_2000-2040.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
if ( (int)sizeof(outputFilename) <= snprintf(timefileTE405, FILENAME_MAXLEN, "%s/te405_2000-2040.dat.gz",inputParams.ephemdir) ){ XLAL_ERROR(XLAL_FAILURE,"String truncated"); }
/* read in ephemeris files */
edat200 = XLALInitBarycenter(earthfile200, sunfile200);
......
......@@ -51,9 +51,9 @@ int main (int argv, char **argc){
sunFile = XLALStringDuplicate(lalpath);
earthFile = XLALStringAppend( earthFile,
"/share/lalpulsar/earth00-19-DE405.dat.gz");
"/share/lalpulsar/earth00-40-DE405.dat.gz");
sunFile = XLALStringAppend( sunFile,
"/share/lalpulsar/sun00-19-DE405.dat.gz");
"/share/lalpulsar/sun00-40-DE405.dat.gz");
edat = XLALInitBarycenter( earthFile, sunFile );
......@@ -64,11 +64,11 @@ int main (int argv, char **argc){
/* read in the time correction file */
if( ttype == TYPE_TEMPO2 || ttype == TYPE_TCB ){
tcFile = XLALStringAppend( tcFile,
"/share/lalpulsar/te405_2000-2019.dat.gz" );
"/share/lalpulsar/te405_2000-2040.dat.gz" );
}
else if ( ttype == TYPE_TDB ){
tcFile = XLALStringAppend( tcFile,
"/share/lalpulsar/tdb_2000-2019.dat.gz" );
"/share/lalpulsar/tdb_2000-2040.dat.gz" );
}
tdat = XLALInitTimeCorrections( tcFile );
......
......@@ -342,8 +342,8 @@ EphemerisData *InitEphemeris (const CHAR *ephemType, const CHAR *ephemDir){
XLAL_ERROR_NULL ( XLAL_EINVAL );
}
snprintf(EphemEarth, FNAME_LENGTH, "%s/earth00-19-%s.dat.gz", ephemDir, ephemType);
snprintf(EphemSun, FNAME_LENGTH, "%s/sun00-19-%s.dat.gz", ephemDir, ephemType);
snprintf(EphemEarth, FNAME_LENGTH, "%s/earth00-40-%s.dat.gz", ephemDir, ephemType);
snprintf(EphemSun, FNAME_LENGTH, "%s/sun00-40-%s.dat.gz", ephemDir, ephemType);
EphemEarth[FNAME_LENGTH-1]=0;
EphemSun[FNAME_LENGTH-1]=0;
......
......@@ -678,8 +678,8 @@ TimeCorrectionType XLALAutoSetEphemerisFiles( CHAR **efile, CHAR **sfile, CHAR *
XLAL_ERROR(XLAL_EFUNC, "Start and end times are outside the ephemeris file ranges!" );
}
*efile = XLALStringDuplicate("earth00-19-");
*sfile = XLALStringDuplicate("sun00-19-");
*efile = XLALStringDuplicate("earth00-40-");
*sfile = XLALStringDuplicate("sun00-40-");
if( !PulsarCheckParam(pulsar, "EPHEM") ){
/* default to use DE405 */
......@@ -703,16 +703,16 @@ TimeCorrectionType XLALAutoSetEphemerisFiles( CHAR **efile, CHAR **sfile, CHAR *
if( !PulsarCheckParam( pulsar, "UNITS" ) ){
/* default to using TCB units */
*tfile = XLALStringDuplicate("te405_2000-2019.dat.gz");
*tfile = XLALStringDuplicate("te405_2000-2040.dat.gz");
ttype = TIMECORRECTION_TCB;
}
else{
if ( !strcmp( PulsarGetStringParam(pulsar, "UNITS"), "TDB" ) ){
*tfile = XLALStringDuplicate("tdb_2000-2019.dat.gz");
*tfile = XLALStringDuplicate("tdb_2000-2040.dat.gz");
ttype = TIMECORRECTION_TDB;
}
else if ( !strcmp( PulsarGetStringParam(pulsar, "UNITS"), "TCB" ) ) {
*tfile = XLALStringDuplicate("te405_2000-2019.dat.gz");
*tfile = XLALStringDuplicate("te405_2000-2040.dat.gz");
ttype = TIMECORRECTION_TCB;
}
else{
......
......@@ -227,8 +227,8 @@ int main( int argc, char *argv[] ){
params.pulsar.position.system = COORDINATESYSTEM_EQUATORIAL;
/* get the Earth and Sun ephemeris files - note yo may have to change this for different systems */
sprintf(earth, "%s/share/lalpulsar/earth00-19-DE405.dat.gz", getenv("LALPULSAR_PREFIX"));
sprintf(sun, "%s/share/lalpulsar/sun00-19-DE405.dat.gz", getenv("LALPULSAR_PREFIX"));
sprintf(earth, "%s/share/lalpulsar/earth00-40-DE405.dat.gz", getenv("LALPULSAR_PREFIX"));
sprintf(sun, "%s/share/lalpulsar/sun00-40-DE405.dat.gz", getenv("LALPULSAR_PREFIX"));
/* double check that the files exist */
if( fopen(sun, "r") == NULL || fopen(earth, "r") == NULL ){
......
......@@ -30,8 +30,8 @@
#include "SFTfileIOv1.h"
/* defaults */
#define EARTHEPHEMERIS "earth00-19-DE405.dat"
#define SUNEPHEMERIS "sun00-19-DE405.dat"
#define EARTHEPHEMERIS "earth00-40-DE405.dat"
#define SUNEPHEMERIS "sun00-40-DE405.dat"
#define MAXFILES 3000 /* maximum number of files to read in a directory */
#define MAXFILENAMELENGTH 256 /* maximum # of characters of a SFT filename */
#define IFO 2 /* detector, 1:GEO, 2:LLO, 3:LHO */
......
......@@ -33,8 +33,8 @@
#include "SFTfileIOv1.h"
/* defaults */
#define EARTHEPHEMERIS ".earth00-19-DE405.dat"
#define SUNEPHEMERIS "sun00-19-DE405.dat"
#define EARTHEPHEMERIS ".earth00-40-DE405.dat"
#define SUNEPHEMERIS "sun00-40-DE405.dat"
#define MAXFILES 3000 /* maximum number of files to read in a directory */
#define MAXFILENAMELENGTH 256 /* maximum # of characters of a SFT filename */
#define IFO 2 /* detector, 1:GEO, 2:LLO, 3:LHO */
......
......@@ -433,8 +433,8 @@ int MAIN( int argc, char *argv[]) {
#ifdef EAH_LALDEBUGLEVEL
#endif
uvar_ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar_ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar_ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar_skyRegion = LALCalloc( alloc_len = strlen(SKYREGION) + 1, sizeof(CHAR) );
XLAL_CHECK ( uvar_skyRegion != NULL, XLAL_ENOMEM, "Failed to allocated memory LALCalloc(1, %d)\n", alloc_len );
......
......@@ -1198,8 +1198,8 @@ XLALInitUserVars ( UserVariables_t *uvar, int argc, char *argv[] )
XLAL_CHECK ( argv != NULL, XLAL_EINVAL, "Invalid NULL input 'argv'\n");
// ---------- set a few defaults ----------
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->Tsft = 1800;
......
......@@ -608,8 +608,8 @@ XLALInitUserVars ( UserVariables_t *uvar, int argc, char *argv[] )
XLAL_CHECK ( argv != NULL, XLAL_EINVAL, "Invalid NULL input 'argv'\n");
// ---------- set a few defaults ----------
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->Tsft = 1800;
uvar->outSingleSFT = 1; /* write our a single SFT file by default */
......
......@@ -679,8 +679,8 @@ InitUserVars ( UserInput_t *uvar, /**< [out] UserInput structure to be fill
/* some defaults */
uvar->srate=16384;
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
/* Register User Variables*/
/* XLALRegisterUvarMember(out_chan, STRING, 'o', OPTIONAL, "Output channel i.e. (IFO)_LDAS_C02_L2_CWINJ");*/
......
......@@ -92,8 +92,8 @@ int main(int argc, char *argv[]){
/* LAL error-handler */
lal_errhandler = LAL_ERR_EXIT;
uvar_earthEphemeris = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar_sunEphemeris = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar_earthEphemeris = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar_sunEphemeris = XLALStringDuplicate("sun00-40-DE405.dat.gz");
/* register user input variables */
XLAL_CHECK_MAIN( XLALRegisterNamedUvar( &uvar_earthEphemeris, "earthEphemeris", STRING, 'E', OPTIONAL, "Earth Ephemeris file") == XLAL_SUCCESS, XLAL_EFUNC);
......
......@@ -278,8 +278,8 @@ XLALInitUserVars ( UserVariables_t *uvar )
/* set a few defaults */
XLAL_CHECK ( (uvar->IFOs = XLALCreateStringVector ( "H1", NULL )) != NULL, XLAL_ENOMEM, "Call to XLALCreateStringVector() failed." );
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->Alpha = 0.0;
uvar->Delta = 0.0;
......
......@@ -308,8 +308,8 @@ initUserVars (UserVariables_t *uvar)
{
/* set a few defaults */
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->Freq = 100;
uvar->f1dot = 0.0;
......
......@@ -169,8 +169,8 @@ XLALInitUserVars ( UserVariables_t *uvar )
XLAL_CHECK ( uvar != NULL, XLAL_EINVAL );
/* set a few defaults */
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->timeGPS = 714180733;
......
......@@ -1658,8 +1658,8 @@ INT4 readTwoSpectInputParams(UserInput_t *uvar, int argc, char *argv[])
XLAL_CHECK ( uvar != NULL, XLAL_EINVAL, "Invalid NULL input 'uvar'\n");
XLAL_CHECK ( argv != NULL, XLAL_EINVAL, "Invalid NULL input 'argv'\n");
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->blksize = 101;
uvar->outfilename = XLALStringDuplicate("logfile.txt");
uvar->configCopy = XLALStringDuplicate("input_args.conf");
......
......@@ -261,8 +261,8 @@ INT4 InitUserVars(UserVariables_t *uvar, int argc, char *argv[])
XLAL_CHECK ( uvar != NULL, XLAL_EINVAL, "Invalid NULL input 'uvar'\n");
XLAL_CHECK ( argv != NULL, XLAL_EINVAL, "Invalid NULL input 'argv'\n");
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->outfilename = XLALStringDuplicate("output.dat");
uvar->Tsft = 1800;
uvar->SFToverlap = 900;
......
......@@ -126,8 +126,8 @@ INT4 InitUserVars(UserVariables_t *uvar, int argc, char *argv[])
XLAL_CHECK ( uvar != NULL, XLAL_EINVAL, "Invalid NULL input 'uvar'\n");
XLAL_CHECK ( argv != NULL, XLAL_EINVAL, "Invalid NULL input 'argv'\n");
uvar->ephemEarth = XLALStringDuplicate("earth00-19-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-19-DE405.dat.gz");
uvar->ephemEarth = XLALStringDuplicate("earth00-40-DE405.dat.gz");
uvar->ephemSun = XLALStringDuplicate("sun00-40-DE405.dat.gz");
uvar->outfilename = XLALStringDuplicate("skygrid.dat");
uvar->skyRegion = XLALStringDuplicate("allsky");
uvar->Tsft = 1800;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment