ccr  1.3.0
Data Types | Functions/Subroutines
ccr.F90 File Reference

This is the Fortran wrapper for the CCR library. More...

Data Types

interface  ccr::nc_def_var_bzip2
 Interface to C function to set BZIP2 compression. More...
 
interface  ccr::nc_inq_var_bzip2
 Interface to C function to inquire about BZIP2 compression. More...
 
interface  ccr::nc_def_var_bitgroom
 Interface to C function to set BitGroom quantization. More...
 
interface  ccr::nc_inq_var_bitgroom
 Interface to C function to inquire about BitGroom quantization. More...
 
interface  ccr::nc_def_var_granularbg
 Interface to C function to set Granular BitGroom quantization. More...
 
interface  ccr::nc_inq_var_granularbg
 Interface to C function to inquire about Granular BitGroom quantization. More...
 
interface  ccr::nc_def_var_zstandard
 Interface to C function to set Zstandard compression. More...
 
interface  ccr::nc_inq_var_zstandard
 Interface to C function to inquire about Zstandard compression. More...
 

Functions/Subroutines

integer function ccr::nf90_def_var_bzip2 (ncid, varid, level)
 Set BZIP2 compression for a variable. More...
 
integer function ccr::nf90_inq_var_bzip2 (ncid, varid, bzip2p, levelp)
 Inquire about BZIP2 compression for a variable. More...
 
integer function ccr::nf90_def_var_bitgroom (ncid, varid, nsd)
 Set BitGroom quantization for a variable. More...
 
integer function ccr::nf90_inq_var_bitgroom (ncid, varid, bitgroomp, nsdp)
 Inquire about BitGroom quantization for a variable. More...
 
integer function ccr::nf90_def_var_granularbg (ncid, varid, nsd)
 Set Granular BitGroom quantization for a variable. More...
 
integer function ccr::nf90_inq_var_granularbg (ncid, varid, granularbgp, nsdp)
 Inquire about Granular BitGroom quantization for a variable. More...
 
integer function ccr::nf90_def_var_zstandard (ncid, varid, level)
 Set Zstandard compression for a variable. More...
 
integer function ccr::nf90_inq_var_zstandard (ncid, varid, zstandardp, levelp)
 Inquire about Zstandard compression for a variable. More...
 

Detailed Description

This is the Fortran wrapper for the CCR library.

Author
Ed Hartnett
Date
1/25/20

Function/Subroutine Documentation

◆ nf90_def_var_bitgroom()

integer function ccr::nf90_def_var_bitgroom ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(in)  nsd 
)

Set BitGroom quantization for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
nsdNumber of significant digits to retain. Allowed single- and double-precision NSDs are 1-7 and 1-15, respectively. (Default is 3).
Returns
0 for success, error code otherwise.

◆ nf90_def_var_bzip2()

integer function ccr::nf90_def_var_bzip2 ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(in)  level 
)

Set BZIP2 compression for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
levelThe compression level.
Returns
0 for success, error code otherwise.

◆ nf90_def_var_granularbg()

integer function ccr::nf90_def_var_granularbg ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(in)  nsd 
)

Set Granular BitGroom quantization for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
nsdNumber of significant digits to retain. Allowed single- and double-precision NSDs are 1-7 and 1-15, respectively. (Default is 3).
Returns
0 for success, error code otherwise.

◆ nf90_def_var_zstandard()

integer function ccr::nf90_def_var_zstandard ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(in)  level 
)

Set Zstandard compression for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
levelThe compression level.
Returns
0 for success, error code otherwise.

◆ nf90_inq_var_bitgroom()

integer function ccr::nf90_inq_var_bitgroom ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(inout)  bitgroomp,
integer, intent(inout)  nsdp 
)

Inquire about BitGroom quantization for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
bitgroompPointer that gets 1 if BitGroom is in use, 0 otherwise. Ignored if NULL.
nsdpPointer that gets number of significant digits, if BitGroom is in use. Ignored if NULL.
Returns
0 for success, error code otherwise.

◆ nf90_inq_var_bzip2()

integer function ccr::nf90_inq_var_bzip2 ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(inout)  bzip2p,
integer, intent(inout)  levelp 
)

Inquire about BZIP2 compression for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
bzip2pPointer that gets 1 if BZIP2 is in use, 0 otherwise. Ignored if NULL.
levelpPointer that gets compression level, if BZIP2 is in use. Ignored if NULL.
Returns
0 for success, error code otherwise.

◆ nf90_inq_var_granularbg()

integer function ccr::nf90_inq_var_granularbg ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(inout)  granularbgp,
integer, intent(inout)  nsdp 
)

Inquire about Granular BitGroom quantization for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
granularbgpPointer that gets 1 if Granular BitGroom is in use, 0 otherwise. Ignored if NULL.
nsdpPointer that gets number of significant digits, if Granular BitGroom is in use. Ignored if NULL.
Returns
0 for success, error code otherwise.

◆ nf90_inq_var_zstandard()

integer function ccr::nf90_inq_var_zstandard ( integer, intent(in)  ncid,
integer, intent(in)  varid,
integer, intent(inout)  zstandardp,
integer, intent(inout)  levelp 
)

Inquire about Zstandard compression for a variable.

Parameters
ncidFile or group ID.
varidVariable ID.
zstandardpPointer that gets 1 if Zstandard is in use, 0 otherwise. Ignored if NULL.
levelpPointer that gets compression level, if Zstandard is in use. Ignored if NULL.
Returns
0 for success, error code otherwise.