Re: [core] Proposed new SenML Units

Jaime Jiménez <jaime@iki.fi> Tue, 26 January 2021 15:33 UTC

Return-Path: <jaime@iki.fi>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF4903A0C18 for <core@ietfa.amsl.com>; Tue, 26 Jan 2021 07:33:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.654
X-Spam-Level:
X-Spam-Status: No, score=0.654 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tWm_uQmNXT2r for <core@ietfa.amsl.com>; Tue, 26 Jan 2021 07:33:31 -0800 (PST)
Received: from forward5-smtp.messagingengine.com (forward5-smtp.messagingengine.com [66.111.4.239]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C71603A0BF7 for <core@ietf.org>; Tue, 26 Jan 2021 07:33:31 -0800 (PST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.nyi.internal (Postfix) with ESMTP id 4A3E01943255; Tue, 26 Jan 2021 10:33:01 -0500 (EST)
Received: from imap3 ([10.202.2.53]) by compute2.internal (MEProxy); Tue, 26 Jan 2021 10:33:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jiaGY6 syhqj8X1ymjlAm5kf6O6+N/C+SocUBpWNQlI8=; b=glABvMtyWZTMpJgTVgXqtv 1LTvNm8hX/bHgPgw/qzAQmHf3ZvVIi6XBbI/YfgKcy6HUPxym2wrudZt2NxvtzoJ OqhgPlR/AKCgu2nqL/HuQtLc6RwnQCtobJUYM0weXfPeUBmL8kAtFfJD+zySzhuA FdaPDFAaptkzD5c2MiBRbRrR8ooCYTfVqxEYFWIcDFUTHTeBhPda7xcFyFyU9xbC 0QW4NcOibPdBdev34AR21TJvhXHLnl8wPHTNgEnBhftEKAsqMolGEd2kAjHjT+Lp jFfZ0aX1fgmgo7b9FNlxfhwIFkJCFwnAlxVCjYVRRodps3lTaveKhcb3ZsQBnZHg ==
X-ME-Sender: <xms:KzYQYEc-2HY7ofnTpfbfPUIr1NV--qDQpQAel3E9PKVj93vzhc95DQ> <xme:KzYQYGNqcCWfPgjQTiEv2oiwXF8ndAjJ1eQDX8nw1KnziE6en9A9tKiPNVA7DKu4I JH8QexAQPJlwY1WKQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeigdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpeflrghimhgv pgflihhmrohnvgiiuceojhgrihhmvgesihhkihdrfhhiqeenucggtffrrghtthgvrhhnpe efheejveetveeileekudeuvdelfeevgeeuleffvdefueehgefgvdefheeftdehffenucff ohhmrghinhepihhsohdrohhrghdpihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepjhgrihhmvgesihhkihdrfhhi
X-ME-Proxy: <xmx:KzYQYFiWFtXWx5bqqXmwnkHPz6ANpSgVpHYAdwdjLm8FGfa15sN6QA> <xmx:KzYQYJ9_tDODVcjDAMiVfKZvZ8D9Sy9TOqkivZifUiylZUOjWKmGmQ> <xmx:KzYQYAv1WvMYMWkkLlFv46kJMECnwnL5pPViCtMeiihE3T7zuDy04g> <xmx:LTYQYG0mTwp5knykOjJILHBJCjkBdj3-rilF1jxQD5USKFmSVDTwuw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id BF10C420062; Tue, 26 Jan 2021 10:32:59 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-78-g36b56e88ef-fm-20210120.001-g36b56e88
Mime-Version: 1.0
Message-Id: <77fa71c2-df5e-4954-bd42-d60805fe4284@www.fastmail.com>
In-Reply-To: <b7f7b4a2-ce12-4280-8583-6217cbd2a9b0@www.fastmail.com>
References: <20201109144145.nzp2oqiam7bdlqed@EMB-918HFH01> <C164824A-C22E-4132-A240-C52D4D4B465B@tzi.org> <041E8922-F467-430B-957C-6BB193D8352F@gmail.com> <20201116092213.k2jzis7ycqjyi3zq@EMB-918HFH01> <2CE9F4CA-5B42-4A90-A3D1-2F049BC7CBD8@tzi.org> <20201116215949.oh4qgsqymarq5fzq@EMB-918HFH01> <922BCE09-874C-4445-9ACC-24740CB94FD4@tzi.org> <b7f7b4a2-ce12-4280-8583-6217cbd2a9b0@www.fastmail.com>
Date: Tue, 26 Jan 2021 17:32:39 +0200
From: Jaime Jiménez <jaime@iki.fi>
To: Carsten Bormann <cabo@tzi.org>, Michael Koster <michaeljohnkoster@gmail.com>, core@ietf.org
Content-Type: multipart/alternative; boundary="ec42f82fe041462c9f287915e2feaea3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/I7u1kV6VXIrU7wjfRhghlTplfxA>
Subject: Re: [core] Proposed new SenML Units
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jan 2021 15:33:34 -0000

Hi again, 

this is the last version I have of the table.

On the SenML Units registry:

+===========+================================+=======+                      
| Symbol    | Description                    | Type  |
+===========+================================+=======+
| NTU       | Nephelometric Turbidity Unit   | Float |                     
+-----------+--------------------------------+-------+

On the Secondary Units registry:

+=========+======================+======+==========+======+
|Secondary| Description          |SenML |   Scale  |Offset|
| Unit    |                      | Unit |          |      |
+=========+======================+======+==========+======+
| ppb     | parts per billion    | /    |   1e-9   |    0 |
+---------+----------------------+------+----------+------+
| ppt     | parts per trillion   | /    |   1e-12  |    0 |
+---------+----------------------+------+----------+------+
| VAh     | volt-ampere hour     | VAs  |   3600   |    0 |
+---------+----------------------+------+----------+------+
| mg/l    | milligram per liter  | kg/m3|   1/1000 |    0 |
+---------+----------------------+------+----------+------+
| ug/l    | microgram per liter  | kg/m3|   1e-6   |    0 | 
+---------+----------------------+------+----------+------+
| g/l     | gram per liter       | kg/m3|     1    |    0 |
+---------+----------------------+------+----------+------+

A reference for NTU can be found here for example: https://www.iso.org/standard/62801.html
If someone has more experience and knows better references, please let me know.

Ciao!
-- 
Jaime Jiménez

On Tue, Jan 26, 2021, at 4:31 PM, Jaime Jiménez wrote:
> Dear all,
> 
> pinging on this. Is it there anything else that needs to be done to add 
> this to the secondary registry?
> It's something we need for IPSO as we have new objects coming.
> 
> Ciao!
> -- 
> Jaime Jiménez
> 
> On Tue, Nov 17, 2020, at 12:16 AM, Carsten Bormann wrote:
> > On 2020-11-16, at 22:59, Jaime Jiménez <jaime@iki.fi> wrote:
> > > 
> > > intriduce new errors:
> > 
> > Something weird happened with the table lines.
> > 
> > The units need to be singular, i.e., milligram, not milligrams.
> > 
> > (For ppb, ppt we probably want to stay with “parts per…” as this is 
> > vernacular anyway.)
> > 
> > Grüße, Carsten
> > 
> > 
> > 
> >
> 
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>