[Yt-svn] commit/yt-doc: 3 new changesets

Bitbucket commits-noreply at bitbucket.org
Thu Sep 1 03:32:19 PDT 2011


3 new changesets in yt-doc:

http://bitbucket.org/yt_analysis/yt-doc/changeset/d9d5e9c22077/
changeset:   d9d5e9c22077
user:        ejtasker
date:        2011-09-01 01:04:48
summary:     added FAQ regarding occassional problem with old .yt and .harray files
affected #:  1 file (704 bytes)

--- a/source/faq.rst	Wed Aug 31 12:28:23 2011 -0400
+++ b/source/faq.rst	Wed Aug 31 19:04:48 2011 -0400
@@ -7,6 +7,15 @@
 come up regularly. Here are the solutions to some of the most common
 problems.
 
+:ref:`faq-scroll-up`
+
+:ref:`faq-new-field`
+
+:ref:`faq-old-data`
+
+
+.. _faq-scroll-up:
+
 I can't scroll-up to previous commands inside iyt
 -------------------------------------------------
 
@@ -18,6 +27,7 @@
 
    $ ~/yt/bin/pip install readline
 
+.. _faq-new-field:
 
 I added a new field to my simulation data, can ``yt`` see it?
 -------------------------------------------------------------
@@ -43,4 +53,22 @@
    print pf.h.field_list
    print pf.h.derived_field_list
 
+.. _faq-old-data:
 
+``yt`` seems to be plotting from old data
+------------------------------------------
+
+``yt`` does check the time stamp of the simulation so that if you
+overwrite your data outputs, the new set will be read in fresh by
+``yt``. However, if you have problems or the ``yt`` output seems to be
+in someway corrupted, try deleting the ``.yt`` and
+``.harray`` files from inside your data directory. If this proves to
+be a persistent problem add the line:
+
+.. code-block:: python
+
+   from yt.config import ytcfg; ytcfg["yt","serialize"] = "False"
+
+to the very top of your ``yt`` script. 
+
+


http://bitbucket.org/yt_analysis/yt-doc/changeset/3e8222679171/
changeset:   3e8222679171
user:        MatthewTurk
date:        2011-09-01 12:30:03
summary:     Changing width of 500 to scale 50%
affected #:  1 file (0 bytes)

--- a/source/interacting_with_yt.rst	Wed Aug 31 18:11:19 2011 -0400
+++ b/source/interacting_with_yt.rst	Thu Sep 01 06:30:03 2011 -0400
@@ -209,7 +209,7 @@
 
 .. image:: _images/rs1_welcome.png
    :target: _images/rs1_welcome.png
-   :width: 500
+   :scale: 50%
 
 This is the basic layout.  There are three primary components:
 
@@ -232,7 +232,7 @@
 
 .. image:: _images/rs2_printstats.png
    :target: _images/rs2_printstats.png
-   :width: 500
+   :scale: 50%
 
 Any command can be executed here, and the output will appear in an output cell
 below.  The output cells have two sets of arrows on them.  The leftmost (blue)
@@ -250,7 +250,7 @@
 
 .. image:: _images/rs3_proj.png
    :target: _images/rs3_proj.png
-   :width: 500
+   :scale: 50%
 
 Once the projecting is done, a new tab for the plot widget should be opened.
 This will include the image, a colorbar, a metadata window, and a couple
@@ -258,7 +258,7 @@
 
 .. image:: _images/rs4_widget.png
    :target: _images/rs4_widget.png
-   :width: 500
+   :scale: 50%
 
 You can ctrl-click on the image (this is broken in Firefox, but works in
 Chrome!  We're working to fix it!) to re-center on a given location.  The
@@ -299,7 +299,7 @@
 You may notice that there is a menu above the object list:
 
 .. image:: _images/rs5_menu.png
-   :width: 500
+   :scale: 50%
    :target: _images/rs5_menu.png
 
 There are a number of options here:
@@ -361,7 +361,7 @@
 dragging drags.
 
 .. image:: _images/mapserver.png
-   :width: 500
+   :scale: 50%
 
 This is also functional on touch-capable devices such as Android Tablets and
 iPads/iPhones.  In future versions, we hope to add halo-overlays and


http://bitbucket.org/yt_analysis/yt-doc/changeset/9dd89879880a/
changeset:   9dd89879880a
user:        MatthewTurk
date:        2011-09-01 12:30:54
summary:     Merging
affected #:  1 file (312 bytes)

--- a/source/faq.rst	Thu Sep 01 06:30:03 2011 -0400
+++ b/source/faq.rst	Thu Sep 01 06:30:54 2011 -0400
@@ -7,6 +7,8 @@
 come up regularly. Here are the solutions to some of the most common
 problems.
 
+.. _faq-scroll-up:
+
 I can't scroll-up to previous commands inside iyt
 -------------------------------------------------
 
@@ -18,6 +20,7 @@
 
    $ ~/yt/bin/pip install readline
 
+.. _faq-new-field:
 
 I added a new field to my simulation data, can ``yt`` see it?
 -------------------------------------------------------------
@@ -43,11 +46,21 @@
    print pf.h.field_list
    print pf.h.derived_field_list
 
+.. _faq-old-data:
 
-Projections or grids look weird!
---------------------------------
+``yt`` seems to be plotting from old data
+------------------------------------------
 
-``yt`` caches information about your grids in between runs.  If you have run
-your simulation and allowed it to re-populate the same directory with files,
-you may need to erase the files ending in ``.harrays`` and ``.yt`` if you want
-to ensure a clean slate.
+``yt`` does check the time stamp of the simulation so that if you
+overwrite your data outputs, the new set will be read in fresh by
+``yt``. However, if you have problems or the ``yt`` output seems to be
+in someway corrupted, try deleting the ``.yt`` and
+``.harray`` files from inside your data directory. If this proves to
+be a persistent problem add the line:
+
+.. code-block:: python
+
+   from yt.config import ytcfg; ytcfg["yt","serialize"] = "False"
+
+to the very top of your ``yt`` script. 
+

Repository URL: https://bitbucket.org/yt_analysis/yt-doc/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list