Skip to content

Commit

Permalink
Allow "radian" as a possible value for the X/Y dimension units. KNMI#122
Browse files Browse the repository at this point in the history
  • Loading branch information
magau committed Dec 20, 2019
1 parent a477d51 commit 3889452
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

1 comment on commit 3889452

@maartenplieger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Magau, looks good to me, can you make a pull request to KNMI/adaguc-server?

Please sign in to comment.