Changeset 2274 for XIOS/dev/dev_ym/XIOS_COUPLING/src/io/inetcdf4.cpp
- Timestamp:
- 12/09/21 12:28:20 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/io/inetcdf4.cpp
r1639 r2274 763 763 { 764 764 StdString unit = this->getAttributeValue(CCFKeywords::XIOS_CF_units, &(*itList), path); 765 if (CCFConvention::XIOS_CF_Longitude_units .end() != CCFConvention::XIOS_CF_Longitude_units.find(unit))765 if (CCFConvention::XIOS_CF_Longitude_units().end() != CCFConvention::XIOS_CF_Longitude_units().find(unit)) 766 766 { 767 767 lonName = *itList; … … 785 785 { 786 786 StdString unit = this->getAttributeValue(CCFKeywords::XIOS_CF_units, &(*itList), path); 787 if (CCFConvention::XIOS_CF_Latitude_units .end() != CCFConvention::XIOS_CF_Latitude_units.find(unit))787 if (CCFConvention::XIOS_CF_Latitude_units().end() != CCFConvention::XIOS_CF_Latitude_units().find(unit)) 788 788 { 789 789 latName = *itList; … … 811 811 { 812 812 StdString unit = this->getAttributeValue(CCFKeywords::XIOS_CF_units, &varname, path); 813 return (CCFConvention::XIOS_CF_Latitude_units .end() != CCFConvention::XIOS_CF_Latitude_units.find(unit)814 || CCFConvention::XIOS_CF_Longitude_units .end() != CCFConvention::XIOS_CF_Longitude_units.find(unit));813 return (CCFConvention::XIOS_CF_Latitude_units().end() != CCFConvention::XIOS_CF_Latitude_units().find(unit) 814 || CCFConvention::XIOS_CF_Longitude_units().end() != CCFConvention::XIOS_CF_Longitude_units().find(unit)); 815 815 } 816 816 else return false ;
Note: See TracChangeset
for help on using the changeset viewer.