Changeset 2413


Ignore:
Timestamp:
10/05/22 11:42:57 (19 months ago)
Author:
jderouillat
Message:

Backport commit 1977 : Fix inconstent definition in cf_role netcdf attribute when writting following UGRID convention.

File:
1 edited

Legend:

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

    r2409 r2413  
    662662              dim0.push_back(dimTwo); 
    663663              SuperClassWriter::addVariable(edge_faces, NC_INT, dim0, compressionLevel); 
    664               SuperClassWriter::addAttribute("cf_role", StdString("edge_face connectivity"), &edge_faces); 
     664              SuperClassWriter::addAttribute("cf_role", StdString("edge_face_connectivity"), &edge_faces); 
    665665              SuperClassWriter::addAttribute("long_name", StdString("neighbor faces for edges"), &edge_faces); 
    666666              SuperClassWriter::addAttribute("start_index", 0, &edge_faces); 
     
    671671              dim0.push_back(dimVertex); 
    672672              SuperClassWriter::addVariable(face_faces, NC_INT, dim0, compressionLevel); 
    673               SuperClassWriter::addAttribute("cf_role", StdString("face_face connectivity"), &face_faces); 
     673              SuperClassWriter::addAttribute("cf_role", StdString("face_face_connectivity"), &face_faces); 
    674674              SuperClassWriter::addAttribute("long_name", StdString("Indicates which other faces neighbor each face"), &face_faces); 
    675675              SuperClassWriter::addAttribute("start_index", 0, &face_faces); 
Note: See TracChangeset for help on using the changeset viewer.