OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
filetypeXml.cpp File Reference
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <pugixml.hpp>
#include <vector>
#include <boost/foreach.hpp>
#include <dfutils.h>
#include <genutils.h>
#include <sensorDefs.h>
#include <timeutils.h>
#include <boost/algorithm/string.hpp>
#include "filetype.h"
Include dependency graph for filetypeXml.cpp:

Go to the source code of this file.

Functions

file_format chk_safe_xml (char *filename)
 

Function Documentation

◆ chk_safe_xml()

file_format chk_safe_xml ( char *  filename)

chk_olci purpose: check a file to see if it is an OLCI xml file If it is, populate the data pointer with filenames associated with Lt's, instrument and geometry data Returns -1 if not OLCI or the format code

Parameters
char*fname - name of file to check
filehandle*file - input file information

Author: R. Healy (SAIC) 7/29/2015 W. Robinson, SAIC, 18 Feb 2016 pad out the olci file name storage by 1 to accomodate trailing null, allow xml files with alternate product name to be accepted as olci files s

Definition at line 43 of file filetypeXml.cpp.