From 0747c34db1a48c4e36784337cdf8a5c5cf55fd36 Mon Sep 17 00:00:00 2001
From: James Harle <jdha@noc.ac.uk>
Date: Wed, 11 Sep 2019 12:41:10 +0100
Subject: [PATCH] Splitting ncml input files to provide and local and remote
 option

---
 inputs/{src_data.ncml => src_data_local.ncml} |  0
 inputs/src_data_remote.ncml                   | 53 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 rename inputs/{src_data.ncml => src_data_local.ncml} (100%)
 create mode 100644 inputs/src_data_remote.ncml

diff --git a/inputs/src_data.ncml b/inputs/src_data_local.ncml
similarity index 100%
rename from inputs/src_data.ncml
rename to inputs/src_data_local.ncml
diff --git a/inputs/src_data_remote.ncml b/inputs/src_data_remote.ncml
new file mode 100644
index 0000000..9626280
--- /dev/null
+++ b/inputs/src_data_remote.ncml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<netcdf title="aggregation example" xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> 
+  <aggregation type="union" >
+     <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
+        <aggregation type="joinExisting" dimName="time_counter" >
+           <netcdf location="ORCA025-N206_19791101d05V.nc" />
+           <netcdf location="ORCA025-N206_19791106d05V.nc" />
+           <netcdf location="ORCA025-N206_19791111d05V.nc" />                              
+           <netcdf location="ORCA025-N206_19791116d05V.nc" />  
+           <netcdf location="ORCA025-N206_19791121d05V.nc" />           
+           <netcdf location="ORCA025-N206_19791126d05V.nc" />
+           <netcdf location="ORCA025-N206_19791201d05V.nc" />           
+           <netcdf location="ORCA025-N206_19791206d05V.nc" />           		   		   
+        </aggregation>
+     </netcdf>
+     <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
+        <aggregation type="joinExisting" dimName="time_counter" >
+           <netcdf location="ORCA025-N206_19791101d05U.nc" />
+           <netcdf location="ORCA025-N206_19791106d05U.nc" />
+           <netcdf location="ORCA025-N206_19791111d05U.nc" />                              
+           <netcdf location="ORCA025-N206_19791116d05U.nc" />  
+           <netcdf location="ORCA025-N206_19791121d05U.nc" />           
+           <netcdf location="ORCA025-N206_19791126d05U.nc" />
+           <netcdf location="ORCA025-N206_19791201d05U.nc" />           
+           <netcdf location="ORCA025-N206_19791206d05U.nc" />           		   		   
+        </aggregation>
+     </netcdf>
+     <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
+        <aggregation type="joinExisting" dimName="time_counter" >
+           <netcdf location="ORCA025-N206_19791101d05T.nc" />
+           <netcdf location="ORCA025-N206_19791106d05T.nc" />
+           <netcdf location="ORCA025-N206_19791111d05T.nc" />                              
+           <netcdf location="ORCA025-N206_19791116d05T.nc" />  
+           <netcdf location="ORCA025-N206_19791121d05T.nc" />           
+           <netcdf location="ORCA025-N206_19791126d05T.nc" />
+           <netcdf location="ORCA025-N206_19791201d05T.nc" />           
+           <netcdf location="ORCA025-N206_19791206d05T.nc" />           		   		   
+        </aggregation>
+     </netcdf>
+     <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
+        <aggregation type="joinExisting" dimName="time_counter" >
+           <netcdf location="ORCA025-N206_19791101d05I.nc" />
+           <netcdf location="ORCA025-N206_19791106d05I.nc" />
+           <netcdf location="ORCA025-N206_19791111d05I.nc" />                              
+           <netcdf location="ORCA025-N206_19791116d05I.nc" />  
+           <netcdf location="ORCA025-N206_19791121d05I.nc" />           
+           <netcdf location="ORCA025-N206_19791126d05I.nc" />
+           <netcdf location="ORCA025-N206_19791201d05I.nc" />           
+           <netcdf location="ORCA025-N206_19791206d05I.nc" />           		   		   
+        </aggregation>
+     </netcdf>	 
+  </aggregation>
+</netcdf>
-- 
GitLab