Skip to content

translate units#1145

Merged
esc24 merged 1 commit intoSciTools:masterfrom
marqh:invalidunits
Jun 5, 2014
Merged

translate units#1145
esc24 merged 1 commit intoSciTools:masterfrom
marqh:invalidunits

Conversation

@marqh
Copy link
Member

@marqh marqh commented May 29, 2014

updates to units of measure for udunits validity + recent field code updates

@rhattersley
Copy link
Member

Looks like this relates to metarelate/metOcean#20

@marqh
Copy link
Member Author

marqh commented May 30, 2014

this pull request does not include the 'MKS' units instances which also cause udunits to raise an exception.

I am awaiting feedback from the code owner on these and I will update this pull request accordingly

@marqh
Copy link
Member Author

marqh commented Jun 3, 2014

this is now complete and ready to merge, from my pov

This was referenced Jun 3, 2014
Copy link
Member

Choose a reason for hiding this comment

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

Is this right? psu is practical salinity unit, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

PSU is practical salinity units, it is dimensionless

the 1e3 factor and the 0.035 offset are the information we are provided with to correctly scale the values from unity

I believe this is correct, and consistent with the CF standard name canonical unit

@esc24
Copy link
Member

esc24 commented Jun 4, 2014

One query, but otherwise I'm happy to merge.

esc24 added a commit that referenced this pull request Jun 5, 2014
@esc24 esc24 merged commit e28900b into SciTools:master Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants