Index of /examples/code/h5cf/eos
HDF-EOS5
Uses version HDF-EOS5.1.13
swath.c:
Creates a swath called Swath1 and adds the temperature dataset with 2
dimensions: latitude and longitude. Temp is a dataset that represents
temperature as a 2-D array of 180x360 floating-point numbers. The
temperature dataset has the CF attributes: units, long_name, _FillValue,
coordinates, valid_min, valid_max, valid_range, scale_factor, add_offset.
Latitude and longitude have the CF attributes units and long_name. Data
is written to swath.he5
swath.f:
Same as swath.c, but written in FORTRAN77
COMPILING INSTRUCTIONS
make swath-c: compiles swath.c to an executable swath-c
make swath-f: compiles swath.f to an executable swath-f
make all: compiles both swath.c and swath.f
Makefile.alt: alternate Makefile that compiles both C and FORTRAN code and does not
depend on h5cc or h5fc scripts. Makefile.alt uses gcc and gfortran to
compile, use as your own risk.