ocssw V2020
/gfs-oceanweb/web/ocssw/ocssw_src/src/l2gen/HOWTO_Add_a_sensor.txt File Reference
#include "l1_mysensor.h"
Include dependency graph for HOWTO_Add_a_sensor.txt:

Macros

#define SENSOR_NUM   #
 
#define MYSENSOR   #
 

Functions

Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName[][] add a string for the new sensor to the end of platformName[][] add a string for the directory name to the end of sensorDir[][] add a string to sensorSub[][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following with prototypes for above The functions need to deal with populating the navigation fields (lat, lon, senz, solz, sena, sola) as well as the Lt records in the l1rec structure 6) Add a section to getformat.c to recognize the new input file format - Compare attribute "title" in data file against titleStr - be sure to populate format
 
Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName[][] add a string for the new sensor to the end of platformName[][] add a string for the directory name to the end of sensorDir[][] add a string to sensorSub[][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following with prototypes for above The functions need to deal with populating the navigation sensorID in the file structure as well as setting fmt to return the format ID if (strstr(titleStr, "title_in_data_file"))
 

Variables

Summary of files that will need some minor major modification
 
Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName[][] add a string for the new sensor to the end of platformName[][] add a string for the directory name to the end of sensorDir[][] add a string to sensorSub[][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists txt
 
Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName[][] add a string for the new sensor to the end of platformName[][] add a string for the directory name to the end of sensorDir[][] add a string to sensorSub[][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following functions
 
Modify l1_io c Add include
 
 break
 
read __pad0__
 
read recnum
 
read l1rec
 
close __pad1__
 

Macro Definition Documentation

◆ MYSENSOR

#define MYSENSOR   #

◆ SENSOR_NUM

#define SENSOR_NUM   #

Function Documentation

◆ fields()

Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName [][] add a string for the new sensor to the end of platformName [][] add a string for the directory name to the end of sensorDir [][] add a string to sensorSub [][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following with prototypes for above The functions need to deal with populating the navigation fields ( lat  ,
lon  ,
senz  ,
solz  ,
sena  ,
sola   
)
new

◆ if()

Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName [][] add a string for the new sensor to the end of platformName [][] add a string for the directory name to the end of sensorDir [][] add a string to sensorSub [][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following with prototypes for above The functions need to deal with populating the navigation sensorID in the file structure as well as setting fmt to return the format ID if ( strstr(titleStr, "title_in_data_file")  )

Definition at line 63 of file HOWTO_Add_a_sensor.txt.

Variable Documentation

◆ __pad0__

read __pad0__

Definition at line 87 of file HOWTO_Add_a_sensor.txt.

◆ __pad1__

close __pad1__

Definition at line 91 of file HOWTO_Add_a_sensor.txt.

◆ break

break

Definition at line 84 of file HOWTO_Add_a_sensor.txt.

◆ functions

Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName [][] add a string for the new sensor to the end of platformName [][] add a string for the directory name to the end of sensorDir [][] add a string to sensorSub [][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists include the following functions

Definition at line 52 of file HOWTO_Add_a_sensor.txt.

◆ include

Modify l1_io c Add include

Definition at line 83 of file HOWTO_Add_a_sensor.txt.

◆ l1rec

read l1rec

Definition at line 87 of file HOWTO_Add_a_sensor.txt.

◆ modification

Summary of files that will need some minor major modification

Definition at line 25 of file HOWTO_Add_a_sensor.txt.

◆ recnum

read recnum

Definition at line 87 of file HOWTO_Add_a_sensor.txt.

◆ txt

Summary of files that will need some minor major add a string for the new sensor to the end of instrumentName [][] add a string for the new sensor to the end of platformName [][] add a string for the directory name to the end of sensorDir [][] add a string to sensorSub [][] if necessary Modify src filetype filetype h Add format definition to enum file_type Modify src filetype filetype c Add code to identify the file Modify src l2gen CMakesLists txt and Changelog md in CMakeLists txt

Definition at line 32 of file HOWTO_Add_a_sensor.txt.