From da2415f3097965660069cf55b3558750b595c515 Mon Sep 17 00:00:00 2001 From: Rolf Krahl Date: Wed, 3 Jan 2024 15:10:23 +0100 Subject: [PATCH] Add simple ICAT data file examples --- doc/examples/icatdump-simple-1.xml | 103 ++++++++++++++++++++++++++ doc/examples/icatdump-simple-1.yaml | 71 ++++++++++++++++++ doc/examples/icatdump-simple-2.xml | 108 ++++++++++++++++++++++++++++ doc/examples/icatdump-simple-2.yaml | 79 ++++++++++++++++++++ 4 files changed, 361 insertions(+) create mode 100644 doc/examples/icatdump-simple-1.xml create mode 100644 doc/examples/icatdump-simple-1.yaml create mode 100644 doc/examples/icatdump-simple-2.xml create mode 100644 doc/examples/icatdump-simple-2.yaml diff --git a/doc/examples/icatdump-simple-1.xml b/doc/examples/icatdump-simple-1.xml new file mode 100644 index 0000000..b2c2303 --- /dev/null +++ b/doc/examples/icatdump-simple-1.xml @@ -0,0 +1,103 @@ + + + + 2024-01-03T13:21:15+00:00 + https://icat.example.com:8181/ICATService/ICAT?wsdl + 6.0.0 + icatdump (python-icat 1.2.0) + + + + Goethe University Frankfurt, Faculty of Philosophy and History + ahau@example.org + Hau + Arnold Hau + Arnold + db/ahau + 0000-0002-3263 + + + Goethe University Frankfurt, Faculty of Philosophy and History + ahau@example.org + Hau + Arnold Hau + Arnold + db/ahau + 0000-0002-3263 + + + Université Paul-Valéry Montpellier 3 + jbotu@example.org + Botul + Jean-Baptiste Botul + Jean-Baptiste + db/jbotu + 0000-0002-3264 + + + jdoe@example.org + Doe + John Doe + John + db/jdoe + + + University of Nancago + nbour@example.org + Bourbaki + Nicolas Bourbaki + Nicolas + db/nbour + 0000-0002-3266 + + + investigation_10100601-ST_owner + + + + + + investigation_10100601-ST_reader + + + + + + + + + + + + investigation_10100601-ST_writer + + + + + + + + DOI:00.0815/inv-00601 + 2010-10-12T15:00:00+00:00 + 4 + 127125 + 10100601-ST + 2010-09-30T10:27:24+00:00 + Ni-Mn-Ga flat cone + 1.1-N + + + owner + + + + reader + + + + writer + + + + + diff --git a/doc/examples/icatdump-simple-1.yaml b/doc/examples/icatdump-simple-1.yaml new file mode 100644 index 0000000..26648f3 --- /dev/null +++ b/doc/examples/icatdump-simple-1.yaml @@ -0,0 +1,71 @@ +%YAML 1.1 +# Date: Wed, 03 Jan 2024 13:24:51 +0000 +# Service: https://icat.example.com:8181/ICATService/ICAT?wsdl +# ICAT-API: 6.0.0 +# Generator: icatdump (python-icat 1.2.0) +--- +grouping: + Grouping_name-investigation=5F10100601=2DST=5Fowner: + name: investigation_10100601-ST_owner + userGroups: + - user: User_name-db=2Fahau + Grouping_name-investigation=5F10100601=2DST=5Freader: + name: investigation_10100601-ST_reader + userGroups: + - user: User_name-db=2Fjbotu + - user: User_name-db=2Fjdoe + - user: User_name-db=2Fnbour + Grouping_name-investigation=5F10100601=2DST=5Fwriter: + name: investigation_10100601-ST_writer + userGroups: + - user: User_name-db=2Fahau +user: + User_name-db=2Fahau: + affiliation: Goethe University Frankfurt, Faculty of Philosophy and History + email: ahau@example.org + familyName: Hau + fullName: Arnold Hau + givenName: Arnold + name: db/ahau + orcidId: 0000-0002-3263 + User_name-db=2Fjbotu: + affiliation: "Universit\xE9 Paul-Val\xE9ry Montpellier 3" + email: jbotu@example.org + familyName: Botul + fullName: Jean-Baptiste Botul + givenName: Jean-Baptiste + name: db/jbotu + orcidId: 0000-0002-3264 + User_name-db=2Fjdoe: + email: jdoe@example.org + familyName: Doe + fullName: John Doe + givenName: John + name: db/jdoe + User_name-db=2Fnbour: + affiliation: University of Nancago + email: nbour@example.org + familyName: Bourbaki + fullName: Nicolas Bourbaki + givenName: Nicolas + name: db/nbour + orcidId: 0000-0002-3266 +--- +investigation: + Investigation_facility-(name-ESNF)_name-10100601=2DST_visitId-1=2E1=2DN: + doi: DOI:00.0815/inv-00601 + endDate: '2010-10-12T15:00:00+00:00' + facility: Facility_name-ESNF + fileCount: 4 + fileSize: 127125 + investigationGroups: + - grouping: Grouping_name-investigation=5F10100601=2DST=5Fowner + role: owner + - grouping: Grouping_name-investigation=5F10100601=2DST=5Freader + role: reader + - grouping: Grouping_name-investigation=5F10100601=2DST=5Fwriter + role: writer + name: 10100601-ST + startDate: '2010-09-30T10:27:24+00:00' + title: Ni-Mn-Ga flat cone + visitId: 1.1-N diff --git a/doc/examples/icatdump-simple-2.xml b/doc/examples/icatdump-simple-2.xml new file mode 100644 index 0000000..1c30960 --- /dev/null +++ b/doc/examples/icatdump-simple-2.xml @@ -0,0 +1,108 @@ + + + + 2024-01-03T13:27:37+00:00 + https://icat.example.com:8181/ICATService/ICAT?wsdl + 6.0.0 + icatdump (python-icat 1.2.0) + + + + Goethe University Frankfurt, Faculty of Philosophy and History + ahau@example.org + Hau + Arnold Hau + Arnold + db/ahau + 0000-0002-3263 + + + Goethe University Frankfurt, Faculty of Philosophy and History + ahau@example.org + Hau + Arnold Hau + Arnold + db/ahau + 0000-0002-3263 + + + Université Paul-Valéry Montpellier 3 + jbotu@example.org + Botul + Jean-Baptiste Botul + Jean-Baptiste + db/jbotu + 0000-0002-3264 + + + jdoe@example.org + Doe + John Doe + John + db/jdoe + + + University of Nancago + nbour@example.org + Bourbaki + Nicolas Bourbaki + Nicolas + db/nbour + 0000-0002-3266 + + + investigation_10100601-ST_owner + + + investigation_10100601-ST_reader + + + investigation_10100601-ST_writer + + + + + + + + + + + + + + + + + + + + + + + + + DOI:00.0815/inv-00601 + 2010-10-12T15:00:00+00:00 + 4 + 127125 + 10100601-ST + 2010-09-30T10:27:24+00:00 + Ni-Mn-Ga flat cone + 1.1-N + + + owner + + + + reader + + + + writer + + + + + diff --git a/doc/examples/icatdump-simple-2.yaml b/doc/examples/icatdump-simple-2.yaml new file mode 100644 index 0000000..79e4a29 --- /dev/null +++ b/doc/examples/icatdump-simple-2.yaml @@ -0,0 +1,79 @@ +%YAML 1.1 +# Date: Wed, 03 Jan 2024 13:27:52 +0000 +# Service: https://icat.example.com:8181/ICATService/ICAT?wsdl +# ICAT-API: 6.0.0 +# Generator: icatdump (python-icat 1.2.0) +--- +grouping: + Grouping_name-investigation=5F10100601=2DST=5Fowner: + name: investigation_10100601-ST_owner + Grouping_name-investigation=5F10100601=2DST=5Freader: + name: investigation_10100601-ST_reader + Grouping_name-investigation=5F10100601=2DST=5Fwriter: + name: investigation_10100601-ST_writer +user: + User_name-db=2Fahau: + affiliation: Goethe University Frankfurt, Faculty of Philosophy and History + email: ahau@example.org + familyName: Hau + fullName: Arnold Hau + givenName: Arnold + name: db/ahau + orcidId: 0000-0002-3263 + User_name-db=2Fjbotu: + affiliation: "Universit\xE9 Paul-Val\xE9ry Montpellier 3" + email: jbotu@example.org + familyName: Botul + fullName: Jean-Baptiste Botul + givenName: Jean-Baptiste + name: db/jbotu + orcidId: 0000-0002-3264 + User_name-db=2Fjdoe: + email: jdoe@example.org + familyName: Doe + fullName: John Doe + givenName: John + name: db/jdoe + User_name-db=2Fnbour: + affiliation: University of Nancago + email: nbour@example.org + familyName: Bourbaki + fullName: Nicolas Bourbaki + givenName: Nicolas + name: db/nbour + orcidId: 0000-0002-3266 +userGroup: + UserGroup_user-(name-db=2Fahau)_grouping-(name-investigation=5F10100601=2DST=5Fowner): + grouping: Grouping_name-investigation=5F10100601=2DST=5Fowner + user: User_name-db=2Fahau + UserGroup_user-(name-db=2Fahau)_grouping-(name-investigation=5F10100601=2DST=5Fwriter): + grouping: Grouping_name-investigation=5F10100601=2DST=5Fwriter + user: User_name-db=2Fahau + UserGroup_user-(name-db=2Fjbotu)_grouping-(name-investigation=5F10100601=2DST=5Freader): + grouping: Grouping_name-investigation=5F10100601=2DST=5Freader + user: User_name-db=2Fjbotu + UserGroup_user-(name-db=2Fjdoe)_grouping-(name-investigation=5F10100601=2DST=5Freader): + grouping: Grouping_name-investigation=5F10100601=2DST=5Freader + user: User_name-db=2Fjdoe + UserGroup_user-(name-db=2Fnbour)_grouping-(name-investigation=5F10100601=2DST=5Freader): + grouping: Grouping_name-investigation=5F10100601=2DST=5Freader + user: User_name-db=2Fnbour +--- +investigation: + Investigation_facility-(name-ESNF)_name-10100601=2DST_visitId-1=2E1=2DN: + doi: DOI:00.0815/inv-00601 + endDate: '2010-10-12T15:00:00+00:00' + facility: Facility_name-ESNF + fileCount: 4 + fileSize: 127125 + investigationGroups: + - grouping: Grouping_name-investigation=5F10100601=2DST=5Fowner + role: owner + - grouping: Grouping_name-investigation=5F10100601=2DST=5Freader + role: reader + - grouping: Grouping_name-investigation=5F10100601=2DST=5Fwriter + role: writer + name: 10100601-ST + startDate: '2010-09-30T10:27:24+00:00' + title: Ni-Mn-Ga flat cone + visitId: 1.1-N