Data extraction methods
Introduction
There are several possibilities for users to access NXCALS data.
In this guide we will explain and give examples how to extract data using different methods:
Note
Authorization is required for any of those methods in the form of a Kerberos token. A Kerberos keytab file must be generated and optionally the client machine must provide a valid CERN grid CA certificate. Moreover, the user must be registered on the NXCALS service to access the data.
Supported Java and Python versions
Please note that NXCALS requires a specific version of Java and Python runtimes.
Deprecated Access Methods
- python builders were moved from
cern.nxcals.pyquery.builders
tonxcals.api.extraction.data.builders
- java builders were moved from
cern.nxcals.data.access.builders
tocern.nxcals.api.extraction.data.builders
DevicePropertyQuery
has been renamed toDevicePropertyDataQuery
KeyValuesQuery
andVariableQuery
were unified into 'DataQuery', accessible viabyEntities()
andbyVariables()
respectively
Java API
A Java examples project can be cloned from GitLab by following steps described here.
Python
To set up you python environment, please check Setting up Python environments page. Currently, NXCALS provides a Python API only for Data Extraction API. There is a possibility of accessing from Python other NXCALS Java APIs such as: