|
NEP 1.7.0
NetCDF Extension Pack: compression extensions for NetCDF
|
Demonstrates 3D surface temperature with time, lat, lon coordinate variables (Fortran) More...
Functions/Subroutines | |
| program | f_coord |
| subroutine | handle_err (status) |
Demonstrates 3D surface temperature with time, lat, lon coordinate variables (Fortran)
This is the Fortran equivalent of coord.c, demonstrating 3D surface temperature data with time, latitude, and longitude coordinate variables following CF conventions. The program creates a surface temperature dataset on a 4x5 lat/lon grid with 3 time steps using the Fortran 90 NetCDF API.
Learning Objectives:
calendar attribute for time coordinatescoordinates attribute to data variables (CF best practice)Key Fortran Concepts:
Prerequisites:
Related Examples:
Compilation:
Usage:
| program f_coord |
| subroutine f_coord::handle_err | ( | integer, intent(in) | status | ) |