NEP 1.7.0
NetCDF Extension Pack: compression extensions for NetCDF
Loading...
Searching...
No Matches
Functions/Subroutines
f_format_variants.f90 File Reference

Demonstrates all five NetCDF binary format variants in Fortran. More...

Functions/Subroutines

program f_format_variants
 
subroutine populate_file (ncid)
 

Detailed Description

Demonstrates all five NetCDF binary format variants in Fortran.

This is the Fortran equivalent of format_variants.c, demonstrating all five NetCDF binary format variants using the Fortran 90 NetCDF API. The program creates identical data structures in each format and compares their characteristics.

Learning Objectives:

Fortran Format Constants:

Prerequisites:

Related Examples:

Compilation:

gfortran -o f_format_variants f_format_variants.f90 -lnetcdff -lnetcdf
program f_format_variants
Definition f_format_variants.f90:45

Usage:

ls -lh f_format_*.nc
Author
Edward Hartnett, Intelligent Data Design, Inc.
Date
2026

Function/Subroutine Documentation

◆ f_format_variants()

program f_format_variants

◆ populate_file()

subroutine f_format_variants::populate_file ( integer, intent(in)  ncid)