NASA Logo
Ocean Color Science Software

ocssw V2022
global_attrs.cpp File Reference
#include "global_attrs.h"
#include <ctime>
#include <netcdf>
#include "rapidjson/document.h"
#include "rapidjson/filereadstream.h"
#include <cstdio>
#include <iostream>
#include <libgen.h>
Include dependency graph for global_attrs.cpp:

Go to the source code of this file.

Functions

string call_sequence (int argc, char *argv[])
 
string get_history (NcFile *ncfile)
 
void set_global_attrs (NcFile *outfile, string history, string doi, string pversion)
 
void set_global_attrs (string filename, string history, string doi, string pversion)
 

Function Documentation

◆ call_sequence()

string call_sequence ( int  argc,
char *  argv[] 
)

Definition at line 15 of file global_attrs.cpp.

◆ get_history()

string get_history ( NcFile *  ncfile)

Definition at line 32 of file global_attrs.cpp.

◆ set_global_attrs() [1/2]

void set_global_attrs ( NcFile *  outfile,
string  history,
string  doi,
string  pversion 
)

Definition at line 40 of file global_attrs.cpp.

◆ set_global_attrs() [2/2]

void set_global_attrs ( string  filename,
string  history,
string  doi,
string  pversion 
)

Definition at line 93 of file global_attrs.cpp.