ioos / ioos-code-sprint

Information about IOOS Code Sprint activities.
https://ioos.github.io/ioos-code-sprint/
MIT License
8 stars 14 forks source link

[Project Proposal]: UDUNITS javascript library #38

Open iwensu0313 opened 8 months ago

iwensu0313 commented 8 months ago

Project Description

This project would explore and pursue ways of offering UDUNITS functionality to front end applications. Depending on expertise and interest, a few methods could be looked at:

Expected Outcomes

A typescript library that can be included in an existing project using npm-install that would allow client side or server side on the fly conversion between units using udunit codes as unit identifiers.

Should include:

Skills required

Any of:

Expertise

Intermediate

Topic Lead(s)

akbstone

Relevant links

abkfenris commented 7 months ago

We've built on top of convert-units for the NERACOOS Mariner's Dashboard. We weren't trying to match UDUNITS, but we'd be willing to upstream any of it's code that is useful to others.

ocefpaf commented 7 months ago

BTW, in the Python world, it is quite hard to depend on anything related to the udunits2 library and/or any effort to re-write it exactly was abandoned. The most successful MetOcean library that requires units, metpy, uses pint.

TL;DR it may be easier to just reuse something that has the basic units than pursing the ideal 100% unit support in udunits.

cjolson64 commented 6 months ago

Could there be some overlap here with #33? The focus there is on CF standard names but I can imagine a combined library with front end components for CF, UDUNITS, GCMD keywords, NERC, etc.

MathewBiddle commented 6 months ago

@akbstone, @iwensu0313 For this year's Code Sprint, there wasn't a lot of interest in this topic. If it is something you'd still like to pursue during the event, does someone want to take the lead on this topic? If so, please identify who that lead will be. Will this be a topic to execute during the sprint or somewhere else?

Expectations for topic leads: Leads are expected to identify a plan for the code sprint topic, establish a team, and take the lead on executing said plan.

For more information on how topics will be selected see the contributing guide

Otherwise, let's mark it as wont fix 2024 and come back to it later.

iwensu0313 commented 6 months ago

@MathewBiddle - we can mark it as wont fix 2024 for this round. Thanks for checking in

MathewBiddle commented 6 months ago

Thanks @iwensu0313. We can always pivot day of.