USGSCSM
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

date.julian2season — Conversion from Julian to Mars Season

The date.julian2season module provides functionality for the conversion between Julian date and Martian season

New in version 0.1.0.

plio.date.julian2season.j2season(_date, year=686.9799625, marsday=8.5875, startdate=144.61074994)[source]

Ls date to a KRC season to determine which KRC seasonal lookup tables to use

Parameters:

_date (float) –

The input date to be converted

yearfloat

The mars year to search within

marsdayfloat

The length of a Mars day

startdatefloat

The zero, start date

Returns:

  • startseason (int) – The integer index to the start season

  • stopseasons (int) – The integer index to the stop season