NASA Logo
Ocean Color Science Software

ocssw V2022
get_dataday.h File Reference
#include <stdint.h>
Include dependency graph for get_dataday.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t get_plusday ()
 
int get_datadays (const char *path, int32_t *day0, int32_t *day1)
 
void printUsage (int32_t exitStatus)
 
float get_equatorial_crossingTime ()
 
void set_verbosity (int val)
 

Function Documentation

◆ get_datadays()

int get_datadays ( const char *  path,
int32_t *  day0,
int32_t *  day1 
)

Get the datadays object.

Parameters
path- path to the input granule
day0- the earliset day the granule covers
day1- the latest day the granule covers
Returns
int

Definition at line 377 of file get_dataday.cpp.

◆ get_equatorial_crossingTime()

float get_equatorial_crossingTime ( )

Get the equatorial crossing time.

Returns
float

Definition at line 267 of file get_dataday.cpp.

◆ get_plusday()

int32_t get_plusday ( )

Get the plus day.

Returns
int

Definition at line 262 of file get_dataday.cpp.

◆ printUsage()

void printUsage ( int32_t  exitStatus)

prints error code

Parameters
exitStatus

Definition at line 48 of file get_dataday.cpp.

◆ set_verbosity()

void set_verbosity ( int  val)

Set the verbosity.

Parameters
valif val > 0 verbosity is set to 1 (true)

Definition at line 384 of file get_dataday.cpp.