ocssw
V2022
|
#include <math.h>
#include <stdio.h>
#include <libgen.h>
#include <stdlib.h>
#include <getopt.h>
#include <stdint.h>
#include <string.h>
#include <sstream>
#include <iostream>
#include <fstream>
#include "nc4utils.h"
#include "l1agen_viirs.h"
Go to the source code of this file.
Macros | |
#define | SWAP_2(x) ( (((x) & 0xff) << 8) | ((unsigned short)(x) >> 8) ) |
#define | VERSION "1.15" |
Functions | |
int32_t | jday (int16_t i, int16_t j, int16_t k) |
int | jdate (int32_t julian, int32_t *year, int32_t *doy) |
int | ccsds_to_yds (uint8_t *cctime, int32_t *iyear, int32_t *iday, double *sec) |
double | get_pkt_sec (uint8_t *pkt_time, int32_t in_jd, int32_t *out_jd) |
int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ SWAP_2
#define SWAP_2 | ( | x | ) | ( (((x) & 0xff) << 8) | ((unsigned short)(x) >> 8) ) |
Definition at line 15 of file scpad_viirs.cpp.
◆ VERSION
#define VERSION "1.15" |
Definition at line 17 of file scpad_viirs.cpp.
Function Documentation
◆ ccsds_to_yds()
int ccsds_to_yds | ( | uint8_t * | cctime, |
int32_t * | iyear, | ||
int32_t * | iday, | ||
double * | sec | ||
) |
Definition at line 5 of file ccsds_to_yds.c.
◆ get_pkt_sec()
double get_pkt_sec | ( | uint8_t * | pkt_time, |
int32_t | in_jd, | ||
int32_t * | out_jd | ||
) |
Definition at line 66 of file scpad_viirs.cpp.
◆ jdate()
◆ jday()
◆ main()
int main | ( | int | argc, |
char * | argv[] | ||
) |
An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck ...in 1998...found on .gan tz@gl obal star. comhttp://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.
Minor modifications to the code were made to eliminate deprecation warnings
Definition at line 91 of file scpad_viirs.cpp.