Re: [core] Proposed new SenML Units

Jaime Jiménez <jaime@iki.fi> Mon, 16 November 2020 22:00 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 B42343A14FB for <core@ietfa.amsl.com>; Mon, 16 Nov 2020 14:00:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.119
X-Spam-Level:
X-Spam-Status: No, score=-1.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NEUTRAL=0.779, 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 AoD6B6dthWNW for <core@ietfa.amsl.com>; Mon, 16 Nov 2020 14:00:15 -0800 (PST)
Received: from wforward4-smtp.messagingengine.com (wforward4-smtp.messagingengine.com [64.147.123.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35FA03A14FD for <core@ietf.org>; Mon, 16 Nov 2020 14:00:13 -0800 (PST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.west.internal (Postfix) with ESMTP id C44ADD6A; Mon, 16 Nov 2020 17:00:12 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 16 Nov 2020 17:00:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=vpRdjQcX7ElKsxewNeF5u0A12WuCthdPJ6z8fwqwX RM=; b=k6LRYJW+4ZesVR184mbTt0eE8lUQrBTYd1MiDZLjK/86w0GEtNfyF/I+i 3mh7h2hBEZePfUF29F/GXB9ReTr+ut3Xx7Bl6z/TmDd0UFybzKsTuY9EU1dBPMEE z5dwx3K01u1QZQKwfXvYFRY8b7yZr01+2j1pAyCckK26OZKXiclTlUriasDOP9s9 MSVSqQGAvhUzeaoUF13uptRKrGWP7bmDHGnswn1zrBqp7KkpQxMr7Eb0cdoFruRr P5FXaZK09SWOMO4CdcmdrhalpsSyHN7tkqBP8SVFtY96o48N8X2MNujbVLa9UEeh DN8rjZTpwmLVGoKh8yZn8SFqiC1oQ==
X-ME-Sender: <xms:avayX3CA4aeGz-otoGbBF5MqT1nMqQnS00h4wMat9JaUwSkzCY_qvQ> <xme:avayX9hrnuNHpF5RFgQKNM4pfKm0zFp7ONmJicn6WhiQOVkekZAcMLkfz7mRmR0SE JBGBqK8vj4wcO1IrA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefuddgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpeflrghi mhgvucflihhmrohnvgiiuceojhgrihhmvgesihhkihdrfhhiqeenucggtffrrghtthgvrh hnpedtudduffdtueeugfegtdethfekffdtveekiedvveetudetgeegveeuvdegffffieen ucfkphepkedvrddvtdefrddvvdejrdduvdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehjrghimhgvsehikhhirdhfih
X-ME-Proxy: <xmx:avayXylT2PFjl9VLjseJfRGXK5ma_s05qrWp8Ttb_ez3Jpa85seHgQ> <xmx:avayX5yqgdBF3maNaRmqMjodv4A4zosHtyDdD2Mx8I3LveG6YJUtRg> <xmx:avayX8SQkRI3o1XyA0Ta3tiwMaSzZq37Mwcy1LmqgrT_hqLOLhtDRA> <xmx:bPayX15Mwyy7h-Y82KFrAH16R7yrWO7uvoALB4CT6MXIQx0L8VxxWup4qMw>
Received: from EMB-918HFH01 (82-203-227-12.bb.dnainternet.fi [82.203.227.12]) by mail.messagingengine.com (Postfix) with ESMTPA id 02F023280059; Mon, 16 Nov 2020 17:00:09 -0500 (EST)
Date: Mon, 16 Nov 2020 23:59:49 +0200
From: Jaime Jiménez <jaime@iki.fi>
To: Carsten Bormann <cabo@tzi.org>
Cc: Michael Koster <michaeljohnkoster@gmail.com>, CoRE WG <core@ietf.org>
Message-ID: <20201116215949.oh4qgsqymarq5fzq@EMB-918HFH01>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <2CE9F4CA-5B42-4A90-A3D1-2F049BC7CBD8@tzi.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Eqkf1vAHhPeIbBPTva9v44FEUnE>
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: Mon, 16 Nov 2020 22:00:18 -0000

Hi Carsten,

The updated version of the tables in the original email would be the ones below, please
have a look and verify I did not intriduce new errors:


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    | milligrams per liter | kg/m3|   1/1000 |    0 |
+---------+----------------------+------+----------+------+
| ug/l    | microgram per liter  | kg/m3|   1e-6   |    0 |  
+---------+----------------------+------+----------+------+
| g/l     |  grams per liter     | kg/m3|     1    |    0 |
+---------+----------------------+------+----------+------+   


Ciao!
-- Jaime



On 16.11.2020 17:38, Carsten Bormann wrote:
>
>
>> On 2020-11-16, at 10:22, Jaime Jiménez <jaime@iki.fi> wrote:
>>
>> thank you very much for your confirmation and insights on the topic. I now wonder if we should add ug/l as well as NTU. For IPSO it looks like NTU would be sufficient.
>
>Note that we already have
>ug/m3          microgram per cubic meter kg/m3      1e-9      0      [RFC8798]
>
>So adding ug/l would be like
>ug/l          microgram per liter        kg/m3      1e-6      0
>
>This scaled unit of mass concentration is useful beyond Turbidity; e.g. as in "the U.S. EPA set the maximum allowable concentration of lead in public drinking water at 15 µg/L” (asciified as “ug/l”).
>
>I think we could use an updated version of the original mail so we can initiate registration from that.
>
>Grüße, Carsten
>