mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
Additional updates in support of https://github.com/Unidata/netcdf-c/issues/321
This commit is contained in:
parent
b37784ed7f
commit
4feadbfd22
@ -8,6 +8,7 @@
|
||||
#include <config.h>
|
||||
#include <unistd.h>
|
||||
#include <nc_tests.h>
|
||||
#include "err_macros.h"
|
||||
#include <hdf5.h>
|
||||
#include <H5DSpublic.h>
|
||||
#include "mfhdf.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <nc_tests.h>
|
||||
#include "err_macros.h"
|
||||
#include <mfhdf.h>
|
||||
|
||||
#define FILE_NAME "tst_interops2.h4"
|
||||
@ -21,14 +22,14 @@ main(int argc, char **argv)
|
||||
#define NUM_SAMPLE_FILES 5
|
||||
int ncid;
|
||||
int nvars_in, ndims_in, natts_in, unlimdim_in;
|
||||
char file_name[NUM_SAMPLE_FILES][NC_MAX_NAME + 1] = {"AMSR_E_L2_Rain_V10_200905312326_A.hdf",
|
||||
char file_name[NUM_SAMPLE_FILES][NC_MAX_NAME + 1] = {"AMSR_E_L2_Rain_V10_200905312326_A.hdf",
|
||||
"AMSR_E_L3_DailyLand_V06_20020619.hdf",
|
||||
"MOD29.A2000055.0005.005.2006267200024.hdf",
|
||||
"MYD29.A2002185.0000.005.2007160150627.hdf",
|
||||
"MYD29.A2009152.0000.005.2009153124331.hdf"};
|
||||
size_t len_in;
|
||||
int f;
|
||||
|
||||
|
||||
for (f = 0; f < NUM_SAMPLE_FILES; f++)
|
||||
{
|
||||
if (nc_open(file_name[f], NC_NOWRITE, &ncid)) ERR;
|
||||
@ -39,4 +40,3 @@ main(int argc, char **argv)
|
||||
SUMMARIZE_ERR;
|
||||
FINAL_RESULTS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user