Re: [core] Proposed new SenML Units

Jaime Jiménez <jaime@iki.fi> Tue, 26 January 2021 16:47 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 2C8413A0A4C for <core@ietfa.amsl.com>; Tue, 26 Jan 2021 08:47:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.653
X-Spam-Level:
X-Spam-Status: No, score=0.653 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 AtJ9nmJVp9WH for <core@ietfa.amsl.com>; Tue, 26 Jan 2021 08:47: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 577223A0C7B for <core@ietf.org>; Tue, 26 Jan 2021 08:47:26 -0800 (PST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.nyi.internal (Postfix) with ESMTP id 658E51941265; Tue, 26 Jan 2021 11:47:25 -0500 (EST)
Received: from imap3 ([10.202.2.53]) by compute2.internal (MEProxy); Tue, 26 Jan 2021 11:47:25 -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=GVydZk26lERkwbN+z8SasxnrvViYTYKkVKknH5zFN MU=; b=drm6jSsCA9w+ftEf3mvD5XSKBPL5G6KT6INAP6NM3+8JQGYp7EO4u8nzk b1hH6Jb2sbY302G3Aif0+4N8XTZvLPqrpu7jIoemsJWMijr7LMC4uf7o7G7GMJ6C a6S4unT9UNhFWY7mtcpN8Q6LlYKPsFuq/VSpnWkkqbv+Y1TsqEaw86Hv5CT+AJmE Bf0knYpCTI9ghc1BWXgYrYuoxdtVbiLRkFfDusaCKK5hC3IPNXIJRXKhotcxAatj Axjo6BSk9n5RDqmkH2N97sdVR0utTAuVcII4bw2S19f2Xi+XL/L8XqWUC2Dyw6mv OrOPHe4gFng7Lyh5y59FVgIkICP2g==
X-ME-Sender: <xms:m0cQYJG99PLTETtcIMr_gDzaUgq5jNYK5RRaQga0_chVuyfLWczl7g> <xme:m0cQYOUYJxwUVZve8DAYb7op9d3JKM6ivY1UheiHFKbb8YUC-sowhAF9Q9KP3kYi5 -GlEsle40W1ni5xSA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeigdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomheplfgrihhm vggplfhimhornhgviicuoehjrghimhgvsehikhhirdhfiheqnecuggftrfgrthhtvghrnh epveduteeikedvteehhfdvffetlefhheelhfeuvdevudeiteehjeejudfgtdeikeeknecu ffhomhgrihhnpehivghtfhdrohhrghdpihhsohdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjrghimhgvsehikhhirdhfih
X-ME-Proxy: <xmx:m0cQYLKvf53Zlu5TbuYo7AaKzcEyRfhNouK_OR2OHOdWTiXxdfovvA> <xmx:m0cQYPEmM2AK5DjCUfXlto13pUppAeRVH1z7BRlkfg4SZrfeNIEySw> <xmx:m0cQYPXeMwtfl9UxfIG73Two3hPKByp-uGj62xdl707W7pXsgE3izw> <xmx:nUcQYAdRnLYGQ7LLajjaYjQijhYLzvlyNVD2corkMZVstz1sM5t6RQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9647E420062; Tue, 26 Jan 2021 11:47:23 -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: <52df74ce-b104-4195-bbae-f8d6d4444924@www.fastmail.com>
In-Reply-To: <A133B093-9C72-4D80-A25F-F3A40BFD850F@tzi.org>
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> <77fa71c2-df5e-4954-bd42-d60805fe4284@www.fastmail.com> <A133B093-9C72-4D80-A25F-F3A40BFD850F@tzi.org>
Date: Tue, 26 Jan 2021 18:47:02 +0200
From: Jaime Jiménez <jaime@iki.fi>
To: Carsten Bormann <cabo@tzi.org>
Cc: Michael Koster <michaeljohnkoster@gmail.com>, core@ietf.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/HXpDwy9PR9fj33HmzubVVaz-5oE>
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 16:47:33 -0000

Great!! I’ll send it now then, thanks!

-- 
Jaime Jiménez

On Tue, Jan 26, 2021, at 5:54 PM, Carsten Bormann wrote:
> This looks good to me.
> The reference should probably say that it points to ISO 7027-1:2016.
> 
> I don’t know why we used both “volt-ampere second” (one hyphen) and 
> "kilovolt-ampere-hour” (two hyphens) in RFC 8798, so “volt-ampere hour” 
> isn’t more inconsistent than RFC 8798 already is to itself, but I would 
> still write “volt-ampere-hour”.
> 
> The next step would be for you to ask IANA to register these, based on 
> https://mailarchive.ietf.org/arch/msg/core/I7u1kV6VXIrU7wjfRhghlTplfxA/
> 
> (The expert for the secondary registry opened in RFC 8798 is 
> unassigned; I’m sure IANA will get that fixed in the process.)
> 
> Grüße, Carsten
> 
> 
> > On 2021-01-26, at 16:32, Jaime Jiménez <jaime@iki.fi> wrote:
> > 
> > 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
> > >
> 
>