Changeset 1977


Ignore:
Timestamp:
11/12/20 11:00:24 (9 months ago)
Author:
ymipsl
Message:

Fix inconstent definition in cf_role netcdf attribute when writting following UGRID convention.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_output.cpp

    r1639 r1977  
    739739              dim0.push_back(dimTwo); 
    740740              SuperClassWriter::addVariable(edge_faces, NC_INT, dim0, compressionLevel); 
    741               SuperClassWriter::addAttribute("cf_role", StdString("edge_face connectivity"), &edge_faces); 
     741              SuperClassWriter::addAttribute("cf_role", StdString("edge_face_connectivity"), &edge_faces); 
    742742              SuperClassWriter::addAttribute("long_name", StdString("neighbor faces for edges"), &edge_faces); 
    743743              SuperClassWriter::addAttribute("start_index", 0, &edge_faces); 
     
    748748              dim0.push_back(dimVertex); 
    749749              SuperClassWriter::addVariable(face_faces, NC_INT, dim0, compressionLevel); 
    750               SuperClassWriter::addAttribute("cf_role", StdString("face_face connectivity"), &face_faces); 
     750              SuperClassWriter::addAttribute("cf_role", StdString("face_face_connectivity"), &face_faces); 
    751751              SuperClassWriter::addAttribute("long_name", StdString("Indicates which other faces neighbor each face"), &face_faces); 
    752752              SuperClassWriter::addAttribute("start_index", 0, &face_faces); 
Note: See TracChangeset for help on using the changeset viewer.