Skip to content

Commit

Permalink
'cssfield' now handles five more obscodes. Updated Find_Orb version d…
Browse files Browse the repository at this point in the history
…ate.
  • Loading branch information
Bill-Gray committed Mar 23, 2023
1 parent 2e62ad7 commit c936b2e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions cssfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,22 @@ static void get_field_size( double *width, double *height, const double jd,
case 1412: /* (E12) Siding Spring */
*width = 2.05;
break;
case 1551: /* (F51) PanSTARRS 1 */
case 1552: /* (F52) PanSTARRS 2 */
*width = 3.2;
break;
case 1852: /* I52: 33' field of view; some loss in corners */
*width = 33. / 60.;
break;
case 1904: /* J04 */
*width = 1.122; /* not sure of this... Marco Micheli says 44'? */
break;
case 1995: /* J95: 25' to 2005 jun 22, 18' for 2005 jun 27 on */
*width = (jd < jun_24_2005 ? 25. / 60. : 18. / 60.);
break;
case 2222: /* (M22) ATLAS South Africa */
*width = 7.354;
break;
case 2905: /* ATLAS (T05), (T08) : 7.4 degree FOV */
case 2908:
*width = 7.4;
Expand All @@ -341,6 +351,9 @@ static void get_field_size( double *width, double *height, const double jd,
case 3106: /* (V06) */
*width = 580. / 3600.;
break;
case 3268: /* (W68) ATLAS Chile */
*width = 7.354;
break;
default:
*width = 0.;
if( memcmp( bad_code, obs_code, 4))
Expand Down
4 changes: 2 additions & 2 deletions miscell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,6 @@ const char *write_bit_string( char *ibuff, const uint64_t bits)
const char *find_orb_version_jd( double *jd)
{
if( jd)
*jd = 2460000.5;
return( "2023 Feb 25");
*jd = 2460026.5;
return( "2023 Mar 23");
}

0 comments on commit c936b2e

Please sign in to comment.