1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Push data to a specific date |
From: | Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> |
To: | Rémi Grimault <remi.grimault at gmail.com> |
Cc: | tech-talk at aps.anl.gov |
Date: | Tue, 25 Feb 2025 11:26:15 -0800 |
On 2/25/25 09:15, Rémi Grimault via Tech-talk wrote:
Hello, I didn't use the archiver before to save the data from my PVs, so I have data that is not on the archiver, in json, I would like to know if there was a way to publish them in a .pb files? Is this something that already exists? is it something simple? Or is the archiver not designed for it at all?
Simple? No, I don't think so. Certainly possible though. imo. the main difficulty for you would be in understanding the Archiver Appliance data model, and figuring out how to map your data model into it. Back when archiver appliance was new, I wrote code to convert from data files from the old Channel Archiver as a migration tool. Depending on your preferences in programming languages... The current incarnation of the python version is part of carchivetools, and has had more recent work.https://urldefense.us/v3/__https://github.com/epicsdeb/carchivetools/blob/master/carchive/cmd/pbrawexport.py__;!!G_uCfscf7eWS!dkyYmy_JBDAH5tPoOkaA35DW7oMUpo3-gIPeyOF_SfUNuvMeVPlMagf6i8gqVnD3iUKhLF1nOSdXSZmiteUldNCmYw$
And a c++ version, which I have not done anything with in many years.https://urldefense.us/v3/__https://github.com/mdavidsaver/ca2aa__;!!G_uCfscf7eWS!dkyYmy_JBDAH5tPoOkaA35DW7oMUpo3-gIPeyOF_SfUNuvMeVPlMagf6i8gqVnD3iUKhLF1nOSdXSZmiteU6nxDXdw$