New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
user/acc/NetCdf4_changes (diff) – NEMO

Changes between Version 1 and Version 2 of user/acc/NetCdf4_changes


Ignore:
Timestamp:
2010-11-05T16:29:22+01:00 (13 years ago)
Author:
acc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user/acc/NetCdf4_changes

    v1 v2  
    99backwards compatible with NetCDF3 but programs linked with NetCDF4 libraries 
    1010are able to read both formats through the same user interface. One feature 
    11 of the new format which make it an attractive option for use with NEMO is 
     11of the new format which makes it an attractive option for use with NEMO is 
    1212the ability to chunk and compress data. Users unfamiliar with the concepts 
    1313are referred to the following published paper and the NetCDF4 documentation: 
     
    4747'''Implementation in NEMO v3.3''' 
    4848 
    49 Implementing support for new NetCDF4 features in NEMO has to be done in 
     49Implementing support for new NetCDF4 features in NEMO has been done in 
    5050a way which: 
    5151 
     
    107107processes, the namelist parameters also need to be set in the ''xmlio_server.def'' 
    108108namelist. This duplication is unfortunate but appropriate since the IO server 
    109 domains may be different sizes to the individual processor domains. 
     109domains may have different sizes to the individual processor domains. 
    110110 
    111111The structure is filled in routine ''dom_nam'' (if defined '''key_netcdf4''') and passed 
    112112as an optional argument to ''histbeg'' and ''histend'' routines. The structure is 
    113 also available to ''iom_nf90'' for use with restart files. If '''key_netcdf'''4 is 
     113also available to ''iom_nf90'' for use with restart files. If '''key_netcdf4''' is 
    114114not defined then the ''luse'' logical within the structure is set to false and 
    115115the new features will not be used. 
     
    138138 
    139139Generally, compiling with NetCDF4 and with support for the new features 
    140 should simply involve defining '''key_netcdf4''' and swoping: 
     140should simply involve defining '''key_netcdf4''' and swapping: 
    141141 
    142142 
     
    171171M      NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90 
    172172M      NEMOGCM/NEMO/OPA_SRC/IOM/iom_nf90.F90 
    173 ?      NEMOGCM/NEMO/OPA_SRC/SBC/fldread.F90.acc 
    174173M      NEMOGCM/NEMO/OPA_SRC/TRD/trdmld.F90 
    175174M      NEMOGCM/NEMO/OPA_SRC/TRD/trdvor.F90