handle_netcdf_error.c File Reference

Handle NetCDF errors. More...

#include <io.h>
Include dependency graph for handle_netcdf_error.c:

Go to the source code of this file.

Functions

void handle_netcdf_error (int status, char *srcfilename, int lineno)
 Handle NetCDF error.

Detailed Description

Handle NetCDF errors.

Definition in file handle_netcdf_error.c.


Function Documentation

void handle_netcdf_error ( int  status,
char *  srcfilename,
int  lineno 
)

Handle NetCDF error.

Parameters:
[in] status Return status error code.
[in] srcfilename Source filename.
[in] lineno Line number of the error.

Definition at line 66 of file handle_netcdf_error.c.

Referenced by create_netcdf(), get_time_attributes(), get_time_info(), main(), output_downscaled_analog(), read_analog_data(), read_netcdf_dims_3d(), read_netcdf_dims_eof(), read_netcdf_latlon(), read_netcdf_var_1d(), read_netcdf_var_2d(), read_netcdf_var_3d(), read_netcdf_var_3d_2d(), read_netcdf_var_generic_val(), read_netcdf_xy(), save_analog_data(), write_learning_fields(), write_netcdf_dims_3d(), write_netcdf_var_3d(), write_netcdf_var_3d_2d(), and write_regression_fields().

00067 {
00074   if (status != NC_NOERR) {
00075     fprintf(stderr, "Source file: %s  Line: %d  Error %d: %s\n", srcfilename, lineno, status, nc_strerror(status));
00076   }
00077 }


Generated on 12 May 2016 for DSCLIM by  doxygen 1.6.1