Skip to content

Commit

Permalink
Merge pull request #123 from magau/master
Browse files Browse the repository at this point in the history
 Allow "radian" as a possible value for the X/Y dimension units. #122
  • Loading branch information
maartenplieger authored Jan 14, 2020
2 parents 356cbcd + d434f9b commit d9c615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CCDFDataModel/CProj4ToCF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int CProj4ToCF::getProjectionUnits(const CDF::Variable *const projectionVariable
return CPROJ4TOCF_UNITS_KILOMETER;
}else if(units.equals("m")){
return CPROJ4TOCF_UNITS_METER;
}else if(units.equals("rad")){
}else if(units.equals("rad") || units.equals("radian")){
return CPROJ4TOCF_UNITS_RADIANS;
}
}
Expand Down

0 comments on commit d9c615f

Please sign in to comment.