Recipe: Fortran program as OPeNDAP client: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
Line 6: Line 6:


== Solution ==
== Solution ==
The metadata for the collection <code>inst01hr_3d_T_Cv</code> is available at
http://opendap.nccs.nasa.gov/dods/OSSE/G5NR/Ganymed/7km/0.5000_deg/inst/inst01hr_3d_T_Cv.info
First, we ensure that our NetCDF-4 library has been built with Fortran and OPeNDAP support. If both the queries
First, we ensure that our NetCDF-4 library has been built with Fortran and OPeNDAP support. If both the queries
  > nc-config --has-f90
  > nc-config --has-f90
Line 15: Line 11:


return "yes", we have a compatible NetCDF-4 library. Here <code>nc-config</code> is a utility bundled with NetCDF-4 package.
return "yes", we have a compatible NetCDF-4 library. Here <code>nc-config</code> is a utility bundled with NetCDF-4 package.
The metadata for the collection <code>inst01hr_3d_T_Cv</code> is available at
http://opendap.nccs.nasa.gov/dods/OSSE/G5NR/Ganymed/7km/0.5000_deg/inst/inst01hr_3d_T_Cv.info


== Read downloaded nc4 file ==
== Read downloaded nc4 file ==