Skip to content

Commit

Permalink
Add simple ICAT data file examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Jan 3, 2024
1 parent 33f8650 commit da2415f
Show file tree
Hide file tree
Showing 4 changed files with 361 additions and 0 deletions.
103 changes: 103 additions & 0 deletions doc/examples/icatdump-simple-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<icatdata>
<head>
<date>2024-01-03T13:21:15+00:00</date>
<service>https://icat.example.com:8181/ICATService/ICAT?wsdl</service>
<apiversion>6.0.0</apiversion>
<generator>icatdump (python-icat 1.2.0)</generator>
</head>
<data>
<user id="User_name-db=2Fahau">
<affiliation>Goethe University Frankfurt, Faculty of Philosophy and History</affiliation>
<email>[email protected]</email>
<familyName>Hau</familyName>
<fullName>Arnold Hau</fullName>
<givenName>Arnold</givenName>
<name>db/ahau</name>
<orcidId>0000-0002-3263</orcidId>
</user>
<user id="User_name-db=2Fahau">
<affiliation>Goethe University Frankfurt, Faculty of Philosophy and History</affiliation>
<email>[email protected]</email>
<familyName>Hau</familyName>
<fullName>Arnold Hau</fullName>
<givenName>Arnold</givenName>
<name>db/ahau</name>
<orcidId>0000-0002-3263</orcidId>
</user>
<user id="User_name-db=2Fjbotu">
<affiliation>Universit&#233; Paul-Val&#233;ry Montpellier 3</affiliation>
<email>[email protected]</email>
<familyName>Botul</familyName>
<fullName>Jean-Baptiste Botul</fullName>
<givenName>Jean-Baptiste</givenName>
<name>db/jbotu</name>
<orcidId>0000-0002-3264</orcidId>
</user>
<user id="User_name-db=2Fjdoe">
<email>[email protected]</email>
<familyName>Doe</familyName>
<fullName>John Doe</fullName>
<givenName>John</givenName>
<name>db/jdoe</name>
</user>
<user id="User_name-db=2Fnbour">
<affiliation>University of Nancago</affiliation>
<email>[email protected]</email>
<familyName>Bourbaki</familyName>
<fullName>Nicolas Bourbaki</fullName>
<givenName>Nicolas</givenName>
<name>db/nbour</name>
<orcidId>0000-0002-3266</orcidId>
</user>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Fowner">
<name>investigation_10100601-ST_owner</name>
<userGroups>
<user ref="User_name-db=2Fahau"/>
</userGroups>
</grouping>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Freader">
<name>investigation_10100601-ST_reader</name>
<userGroups>
<user ref="User_name-db=2Fjbotu"/>
</userGroups>
<userGroups>
<user ref="User_name-db=2Fjdoe"/>
</userGroups>
<userGroups>
<user ref="User_name-db=2Fnbour"/>
</userGroups>
</grouping>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Fwriter">
<name>investigation_10100601-ST_writer</name>
<userGroups>
<user ref="User_name-db=2Fahau"/>
</userGroups>
</grouping>
</data>
<data>
<investigation id="Investigation_facility-(name-ESNF)_name-10100601=2DST_visitId-1=2E1=2DN">
<doi>DOI:00.0815/inv-00601</doi>
<endDate>2010-10-12T15:00:00+00:00</endDate>
<fileCount>4</fileCount>
<fileSize>127125</fileSize>
<name>10100601-ST</name>
<startDate>2010-09-30T10:27:24+00:00</startDate>
<title>Ni-Mn-Ga flat cone</title>
<visitId>1.1-N</visitId>
<facility ref="Facility_name-ESNF"/>
<investigationGroups>
<role>owner</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fowner"/>
</investigationGroups>
<investigationGroups>
<role>reader</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Freader"/>
</investigationGroups>
<investigationGroups>
<role>writer</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fwriter"/>
</investigationGroups>
</investigation>
</data>
</icatdata>
71 changes: 71 additions & 0 deletions doc/examples/icatdump-simple-1.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
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: [email protected]
familyName: Botul
fullName: Jean-Baptiste Botul
givenName: Jean-Baptiste
name: db/jbotu
orcidId: 0000-0002-3264
User_name-db=2Fjdoe:
email: [email protected]
familyName: Doe
fullName: John Doe
givenName: John
name: db/jdoe
User_name-db=2Fnbour:
affiliation: University of Nancago
email: [email protected]
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
108 changes: 108 additions & 0 deletions doc/examples/icatdump-simple-2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<icatdata>
<head>
<date>2024-01-03T13:27:37+00:00</date>
<service>https://icat.example.com:8181/ICATService/ICAT?wsdl</service>
<apiversion>6.0.0</apiversion>
<generator>icatdump (python-icat 1.2.0)</generator>
</head>
<data>
<user id="User_name-db=2Fahau">
<affiliation>Goethe University Frankfurt, Faculty of Philosophy and History</affiliation>
<email>[email protected]</email>
<familyName>Hau</familyName>
<fullName>Arnold Hau</fullName>
<givenName>Arnold</givenName>
<name>db/ahau</name>
<orcidId>0000-0002-3263</orcidId>
</user>
<user id="User_name-db=2Fahau">
<affiliation>Goethe University Frankfurt, Faculty of Philosophy and History</affiliation>
<email>[email protected]</email>
<familyName>Hau</familyName>
<fullName>Arnold Hau</fullName>
<givenName>Arnold</givenName>
<name>db/ahau</name>
<orcidId>0000-0002-3263</orcidId>
</user>
<user id="User_name-db=2Fjbotu">
<affiliation>Universit&#233; Paul-Val&#233;ry Montpellier 3</affiliation>
<email>[email protected]</email>
<familyName>Botul</familyName>
<fullName>Jean-Baptiste Botul</fullName>
<givenName>Jean-Baptiste</givenName>
<name>db/jbotu</name>
<orcidId>0000-0002-3264</orcidId>
</user>
<user id="User_name-db=2Fjdoe">
<email>[email protected]</email>
<familyName>Doe</familyName>
<fullName>John Doe</fullName>
<givenName>John</givenName>
<name>db/jdoe</name>
</user>
<user id="User_name-db=2Fnbour">
<affiliation>University of Nancago</affiliation>
<email>[email protected]</email>
<familyName>Bourbaki</familyName>
<fullName>Nicolas Bourbaki</fullName>
<givenName>Nicolas</givenName>
<name>db/nbour</name>
<orcidId>0000-0002-3266</orcidId>
</user>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Fowner">
<name>investigation_10100601-ST_owner</name>
</grouping>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Freader">
<name>investigation_10100601-ST_reader</name>
</grouping>
<grouping id="Grouping_name-investigation=5F10100601=2DST=5Fwriter">
<name>investigation_10100601-ST_writer</name>
</grouping>
<userGroup id="UserGroup_user-(name-db=2Fahau)_grouping-(name-investigation=5F10100601=2DST=5Fowner)">
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fowner"/>
<user ref="User_name-db=2Fahau"/>
</userGroup>
<userGroup id="UserGroup_user-(name-db=2Fahau)_grouping-(name-investigation=5F10100601=2DST=5Fwriter)">
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fwriter"/>
<user ref="User_name-db=2Fahau"/>
</userGroup>
<userGroup id="UserGroup_user-(name-db=2Fjbotu)_grouping-(name-investigation=5F10100601=2DST=5Freader)">
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Freader"/>
<user ref="User_name-db=2Fjbotu"/>
</userGroup>
<userGroup id="UserGroup_user-(name-db=2Fjdoe)_grouping-(name-investigation=5F10100601=2DST=5Freader)">
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Freader"/>
<user ref="User_name-db=2Fjdoe"/>
</userGroup>
<userGroup id="UserGroup_user-(name-db=2Fnbour)_grouping-(name-investigation=5F10100601=2DST=5Freader)">
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Freader"/>
<user ref="User_name-db=2Fnbour"/>
</userGroup>
</data>
<data>
<investigation id="Investigation_facility-(name-ESNF)_name-10100601=2DST_visitId-1=2E1=2DN">
<doi>DOI:00.0815/inv-00601</doi>
<endDate>2010-10-12T15:00:00+00:00</endDate>
<fileCount>4</fileCount>
<fileSize>127125</fileSize>
<name>10100601-ST</name>
<startDate>2010-09-30T10:27:24+00:00</startDate>
<title>Ni-Mn-Ga flat cone</title>
<visitId>1.1-N</visitId>
<facility ref="Facility_name-ESNF"/>
<investigationGroups>
<role>owner</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fowner"/>
</investigationGroups>
<investigationGroups>
<role>reader</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Freader"/>
</investigationGroups>
<investigationGroups>
<role>writer</role>
<grouping ref="Grouping_name-investigation=5F10100601=2DST=5Fwriter"/>
</investigationGroups>
</investigation>
</data>
</icatdata>
79 changes: 79 additions & 0 deletions doc/examples/icatdump-simple-2.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
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: [email protected]
familyName: Botul
fullName: Jean-Baptiste Botul
givenName: Jean-Baptiste
name: db/jbotu
orcidId: 0000-0002-3264
User_name-db=2Fjdoe:
email: [email protected]
familyName: Doe
fullName: John Doe
givenName: John
name: db/jdoe
User_name-db=2Fnbour:
affiliation: University of Nancago
email: [email protected]
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

0 comments on commit da2415f

Please sign in to comment.