<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to rauscher_xml</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>Recent changes to rauscher_xml</description><atom:link href="https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 20 Jan 2018 21:43:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/feed" rel="self" type="application/rss+xml"/><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -68,7 +68,7 @@

 ** `./make_post.sh s25 a28 d`**

-This is for the explosive yields of an initially 25 solar mass model using rate set *a28* and explosion sentinel *d*.  See [2sn.org](http://2sn.org/nucleosynthesis) for choices of the models.  Again, set the WG_OPT environment variable if the script fails because of an untrusted certificate, as described above.
+This is for the explosive yields of an initially 25 solar mass model using rate set *a28* and explosion sentinel *d*.  See [2sn.org](http://2sn.org/nucleosynthesis) for choices of the models.  Again, as described above, set the WG_OPT environment variable if the script fails because of an untrusted certificate.

 The calculation produces two files in *../nucnet-tools-code/data_pub*.  The first is *s25a28d_expl_full.xml*. The first file includes the "zones" called "wind" and "total".  "wind" denotes the matter ejected by the star in the form of a wind before the explosion.  "total" denotes the total mass ejected.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Sat, 20 Jan 2018 21:43:16 -0000</pubDate><guid>https://sourceforge.net055c0ee4d804a4b8974dd476b4797fd5e33213ee</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -34,7 +34,11 @@

 ** `./make_presn.sh s15 a28 a29`**

-Here you are choosing an initially 15 solar mass model with rate set a28 used for the model and rate set a29 used for the composition.  The models are described in some detail at [2sn.org](http://2sn.org/nucleosynthesis).
+Here you are choosing an initially 15 solar mass model with rate set a28 used for the model and rate set a29 used for the composition.  The models are described in some detail at [2sn.org](http://2sn.org/nucleosynthesis).  If you have trouble with downloading the files because of an untrusted certificate, try setting the environment variable WG_OPT by typing (in a bash environment)
+
+** `export WG_OPT=--no-check-certificate`**
+
+and then running *make_presn.sh* again.

 For this calculation, the output is the file *s15a28a29_presn.xml* in the directory *../nucnet-tools-code/data_pub*.  We can then analyze this code with the usual NucNet Tools analysis codes.  To do so, we change into the NucNet Tools analysis directory

@@ -64,7 +68,7 @@

 ** `./make_post.sh s25 a28 d`**

-This is for the explosive yields of an initially 25 solar mass model using rate set *a28* and explosion sentinel *d*.  See [2sn.org](http://2sn.org/nucleosynthesis) for choices of the models.
+This is for the explosive yields of an initially 25 solar mass model using rate set *a28* and explosion sentinel *d*.  See [2sn.org](http://2sn.org/nucleosynthesis) for choices of the models.  Again, set the WG_OPT environment variable if the script fails because of an untrusted certificate, as described above.

 The calculation produces two files in *../nucnet-tools-code/data_pub*.  The first is *s25a28d_expl_full.xml*. The first file includes the "zones" called "wind" and "total".  "wind" denotes the matter ejected by the star in the form of a wind before the explosion.  "total" denotes the total mass ejected.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Sat, 20 Jan 2018 21:27:51 -0000</pubDate><guid>https://sourceforge.netb771ebcfa0ef4cb8f2ab64dc70153e5cae55b60f</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -100,7 +100,7 @@

 to

-    EXECUTABLE=./many_post.sh
+    EXECUTABLE=./make_post.sh

 Now create a file *input.txt* with lines like

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Fri, 02 Jan 2015 15:53:06 -0000</pubDate><guid>https://sourceforge.net979832721334d29514d5241a22ded23c466e5d15</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -117,7 +117,7 @@

 **`./many_exec.sh input.txt`**

-This will execute *many_post.sh* once for each line in *input.txt* using the input in each line as the input arguments to *many_post.sh*.  If you use the above *input.txt*, upon successful completion, you will have eight *_expl.xml* and eight *_expl_full.xml* files in your *../nucnet-tools-code/data_pub* directory.  You can similarly run the *make_presn.sh* script multiple times by appropriately changing *EXECUTABLE* and the input file and then running *many_exec.sh*.
+This will execute *make_post.sh* once for each line in *input.txt* using the input in each line as the input arguments to *make_post.sh*.  If you use an *input.txt* created as suggested above, upon successful completion, you will have eight *_expl.xml* and eight *_expl_full.xml* files in your *../nucnet-tools-code/data_pub* directory.  You can similarly run the *make_presn.sh* script multiple times by appropriately changing *EXECUTABLE* and the input file and then running *many_exec.sh*.

 [[members]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Mon, 29 Dec 2014 17:12:46 -0000</pubDate><guid>https://sourceforge.net86fb36a1b81f1828f2f989106c08c409772f784f</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -117,7 +117,7 @@

 **`./many_exec.sh input.txt`**

-This will execute *many_post.sh* once for each line in *input.txt* using the input in each line as the input arguments to *many_post.sh*.  If you use the above *input.txt*, upon successful completion, you will have eight *_expl.xml* and eight *_expl_full.xml* files in your *../nucnet-tools-code/data_pub* directory.  You can similarly run the *make_pre.sh* script multiple times by appropriately changing *EXECUTABLE* and the input file and then running *many_exec.sh*.
+This will execute *many_post.sh* once for each line in *input.txt* using the input in each line as the input arguments to *many_post.sh*.  If you use the above *input.txt*, upon successful completion, you will have eight *_expl.xml* and eight *_expl_full.xml* files in your *../nucnet-tools-code/data_pub* directory.  You can similarly run the *make_presn.sh* script multiple times by appropriately changing *EXECUTABLE* and the input file and then running *many_exec.sh*.

 [[members]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Mon, 29 Dec 2014 16:33:19 -0000</pubDate><guid>https://sourceforge.netf1047e88780c0e9a4265a057e239687cd4a8083a</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -88,4 +88,36 @@

 **`./extract_subset.sh ../nucnet-tools-code/data_pub/s15a28a29_presn.xml "[z &amp;lt;= 35]" "[(count(reactant) = 1) and (product[contains(.,'neutrino')])]" "[@label1 &amp;gt;= '500' and @label1 &amp;lt;= '700']" ../nucnet-tools-code/data_pub/s15a28a29_presn_500_700_weakonly_z35.xml`**

+##### Downloading multiple files. #####
+
+You may find it desirable to create multiple xml files at one time.  For example, you may wish to create multiple post-supernova xml files.  To do so, you can download the script [many_exec.sh](http://nucnet-projects.sourceforge.net/scripts/2014-12-29/many_exec.sh) to your *rauscher_xml* directory.  Make sure the script is executable by typing
+
+** `chmod +x many_exec.sh`**
+
+Now edit the script to change the line
+
+    EXECUTABLE=./the_executable
+
+to
+
+    EXECUTABLE=./many_post.sh
+
+Now create a file *input.txt* with lines like
+
+    s15 a28 c
+    s19 a28 g
+    s20 a28 n
+    s21 a28 g
+    s25 a28 d
+    s30 a28 A
+    s35 a28 A
+    s40 a28 A
+
+Execute the script by typing
+
+**`./many_exec.sh input.txt`**
+
+This will execute *many_post.sh* once for each line in *input.txt* using the input in each line as the input arguments to *many_post.sh*.  If you use the above *input.txt*, upon successful completion, you will have eight *_expl.xml* and eight *_expl_full.xml* files in your *../nucnet-tools-code/data_pub* directory.  You can similarly run the *make_pre.sh* script multiple times by appropriately changing *EXECUTABLE* and the input file and then running *many_exec.sh*.
+
+
 [[members]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Mon, 29 Dec 2014 16:30:29 -0000</pubDate><guid>https://sourceforge.net54a0eb7d6bdb39219e5fa8be8c7606ec72b09e0c</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -74,11 +74,11 @@

 ##### Extracting nuclide, reaction, or zone subsets. #####

-It is possible to create new xml files that contain a subset of the nuclei, reactions, and/or zones in the parent pre-supernova or post-supernova file.  This is done with [libnucnet example](https://sourceforge.net/u/mbradle/blog/2012/07/running-libnucnet-examples/) codes.  For ease of use, we have written a script to streamline running these codes.  To extract a file with nuclei with atomic number less than or equal to 30 in all zones from the parent post-supernova *s25a28d_expl.xml* file, I type (on one line):
+It is possible to create new xml files that contain a subset of the nuclei, reactions, and/or zones in the parent pre-supernova or post-supernova file.  This is done with [libnucnet example](https://sourceforge.net/u/mbradle/blog/2012/07/running-libnucnet-examples/) codes.  For ease of use, we have written a script to streamline running these codes.  To extract a file with nuclei with atomic number less than or equal to 30 in all zones from the parent post-supernova *s25a28d_expl.xml* file, I type (on one line) in the *projects/rauscher_xml* directory:

 ** `./extract_subset.sh ../nucnet-tools-code/data_pub/s25a28d_expl.xml "[z &lt;= 30]" "" "" ../nucnet-tools-code/data_pub/s25a28d_expl_z30.xml`**

-The output file is *s25a28_expl_z30.xml* in *../nucnet-tools-code/data_pub*.  To create a file that selects out zones 500 and larger and nuclides with atomic number less than or equal to 45 from the pre-supernova file *s15a28a29_presn.xml*, I type (on one line) in the *projects/rauscher_xml* directory:
+The output file is *s25a28_expl_z30.xml* in *../nucnet-tools-code/data_pub*.  To create a file that selects out zones 500 and larger and nuclides with atomic number less than or equal to 45 from the pre-supernova file *s15a28a29_presn.xml*, I type (on one line):

 ** `./extract_subset.sh ../nucnet-tools-code/data_pub/s15a28a29_presn.xml "[z &lt;= 45]" "" "[@label1 &gt;= '500']" ../nucnet-tools-code/data_pub/s15a28a29_presn_500_z45.xml`**

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Thu, 19 Dec 2013 13:55:26 -0000</pubDate><guid>https://sourceforge.net58fc8dda3ff95f0fc486735887c4f61c6acbd6e8</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Thu, 19 Dec 2013 13:51:07 -0000</pubDate><guid>https://sourceforge.netb53ac71612c79d2d1c7da9878c0173ad96f4bf18</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -78,7 +78,7 @@

 ** `./extract_subset.sh ../nucnet-tools-code/data_pub/s25a28d_expl.xml "[z &lt;= 30]" "" "" ../nucnet-tools-code/data_pub/s25a28d_expl_z30.xml`**

-The output file is *s25a28_expl_z30.xml* in *../nucnet-tools-code/data_pub*.  To create a file that selects out zones 500 and larger and nuclides with atomic number less than or equal to 45 from the pre-supernova file *s15a28a29_presn.xml*, I type (on one line):
+The output file is *s25a28_expl_z30.xml* in *../nucnet-tools-code/data_pub*.  To create a file that selects out zones 500 and larger and nuclides with atomic number less than or equal to 45 from the pre-supernova file *s15a28a29_presn.xml*, I type (on one line) in the *projects/rauscher_xml* directory:

 ** `./extract_subset.sh ../nucnet-tools-code/data_pub/s15a28a29_presn.xml "[z &lt;= 45]" "" "[@label1 &gt;= '500']" ../nucnet-tools-code/data_pub/s15a28a29_presn_500_z45.xml`**

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Thu, 19 Dec 2013 13:50:53 -0000</pubDate><guid>https://sourceforge.net86f1baaf57934c6d3379319b42cec6e330ab7062</guid></item><item><title>rauscher_xml modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/rauscher_xml/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v15
+++ v16
@@ -1,6 +1,6 @@
 ### rauscher_xml ###

-This project creates XML files of data from pre-supernova and post-supernova models by [Rauscher et al.](http://adsabs.harvard.edu/abs/2002ApJ...576..323R)  The output from the XML files may then be extracted by NucNet Tools routines.  Please note the authors request that you [contact](http://2sn.org/nucleosynthesis/RHHW02.shtml) them before using their data.
+This project creates XML files of data from pre-supernova and post-supernova models by [Rauscher et al.](http://adsabs.harvard.edu/abs/2002ApJ...576..323R)  The output from the XML files may then be extracted by NucNet Tools routines.  Please note the authors request that you [contact](http://2sn.org/nucleosynthesis/RHHW02.shtml) them before using their data in your publications.

 ##### Installing the project. #####

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Tue, 29 Oct 2013 19:52:58 -0000</pubDate><guid>https://sourceforge.netd8fc7b448581a6c8b4447b993e640a7da1a60c2e</guid></item></channel></rss>