|
ocssw
V2022
|
hawkeyeUtil.cpp File Reference
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include <unistd.h>#include <limits.h>#include <iostream>#include <fstream>#include <sstream>#include <string>#include <iomanip>#include "hawkeyeUtil.h"
Include dependency graph for hawkeyeUtil.cpp:
Go to the source code of this file.
Functions | |
| int | createFile (const char *filename, const char *cdlfile, size_t sdim, int *ncid, int *gid) |
| int | parseDims (int ncid, int ndims, string dimString, int *numDims, int *dimid, int *varDims) |
| int | createNCDF (int ncid, const char *sname, const char *lname, const char *standard_name, const char *units, void *fill_value, const char *flag_values, const char *flag_meanings, double low, double high, float scale_factor, float add_offset, int nt, int rank, int *dimids) |
| int | tepoch2yds (double tepoch, int32_t *iyr, int32_t *idy, double *sec) |
| int | readFrame (ifstream *framefile, uint8_t frame[892], int &prevFrameCnt, int ierror[2]) |
| int | getSHpacket (ifstream *framefile, uint8_t frame[892], int &framePtr, uint8_t **packet, int &packetLength, int &prevFrameCnt, int &frameDrop, bool isVerbose) |
Function Documentation
◆ createFile()
Definition at line 39 of file hawkeyeUtil.cpp.
◆ createNCDF()
| int createNCDF | ( | int | ncid, |
| const char * | sname, | ||
| const char * | lname, | ||
| const char * | standard_name, | ||
| const char * | units, | ||
| void * | fill_value, | ||
| const char * | flag_values, | ||
| const char * | flag_meanings, | ||
| double | low, | ||
| double | high, | ||
| float | scale_factor, | ||
| float | add_offset, | ||
| int | nt, | ||
| int | rank, | ||
| int * | dimids | ||
| ) |
Definition at line 374 of file hawkeyeUtil.cpp.
◆ getSHpacket()
| int getSHpacket | ( | ifstream * | framefile, |
| uint8_t | frame[892], | ||
| int & | framePtr, | ||
| uint8_t ** | packet, | ||
| int & | packetLength, | ||
| int & | prevFrameCnt, | ||
| int & | frameDrop, | ||
| bool | isVerbose | ||
| ) |
Definition at line 912 of file hawkeyeUtil.cpp.
◆ parseDims()
| int parseDims | ( | int | ncid, |
| int | ndims, | ||
| string | dimString, | ||
| int * | numDims, | ||
| int * | dimid, | ||
| int * | varDims | ||
| ) |
Definition at line 339 of file hawkeyeUtil.cpp.
◆ readFrame()
| int readFrame | ( | ifstream * | framefile, |
| uint8_t | frame[892], | ||
| int & | prevFrameCnt, | ||
| int | ierror[2] | ||
| ) |
Definition at line 868 of file hawkeyeUtil.cpp.
◆ tepoch2yds()
| int tepoch2yds | ( | double | tepoch, |
| int32_t * | iyr, | ||
| int32_t * | idy, | ||
| double * | sec | ||
| ) |
Definition at line 725 of file hawkeyeUtil.cpp.


