wrfout
0.0-0.dev0.dirty.el6
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Groups
wrfout_store_data.c
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Author:
4
* name: Brian Ermold
5
* phone: 509-375-2277
6
* email: brian.ermold@pnnl.gov
7
*
8
******************************************************************************/
9
10
/** @file wrfout_store_data.c
11
* WRFOUT Store Data Functions.
12
*/
13
14
#include "
wrfout_ingest.h
"
15
16
/**
17
* Store the WRFOUT data.
18
*
19
* @param data pointer to the UserData structure
20
*
21
* @retval nstored number of data records stored
22
* @retval -1 if a fatal error occurred
23
*/
24
int
wrfout_store_data
(
UserData
*data)
25
{
26
// CDSGroup *dataset = data->out_ds;
27
int
nstored;
28
29
/* Dump the output dataset to a file if debug level is > 3 */
30
31
if
(
dsproc_get_debug_level
() > 3) {
32
33
dsproc_dump_output_datasets
(
34
"./debug_dumps"
,
"before_store.debug"
, 0);
35
}
36
37
nstored =
dsproc_store_dataset
(data->
out_dsid
, 0);
38
39
return
(nstored);
40
}
src
wrfout_store_data.c
Generated on Thu Jan 17 2019 21:06:44 for wrfout by
1.8.1.1