Skip to content

Commit

Permalink
deploy: 8ddd454
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleynweye committed Nov 7, 2024
1 parent 4136139 commit c659593
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified .doctrees/cli.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/quickstart.doctree
Binary file not shown.
Binary file modified .doctrees/usage/cli.doctree
Binary file not shown.
Binary file modified .doctrees/usage/load_environment.doctree
Binary file not shown.
8 changes: 4 additions & 4 deletions _modules/citylearn/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ <h1>Source code for citylearn.data</h1><div class="highlight"><pre>
<span class="c1"># check that dataset does not already exist using the schema as a proxy</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isfile</span><span class="p">(</span><span class="n">schema_filepath</span><span class="p">):</span>
<span class="n">LOGGER</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;The </span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="s1"> dataset DNE in cache. Will download from &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/v</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">datasets_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">datasets_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="sa">f</span><span class="s1">&#39;Next time DataSet.get_dataset(</span><span class="se">\&#39;</span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="se">\&#39;</span><span class="s1">) is called, it will read &#39;</span>
<span class="s1">&#39;from cache unless DataSet.clear_cache is run first.&#39;</span><span class="p">)</span>
<span class="n">contents</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_github_contents</span><span class="p">(</span><span class="n">path</span><span class="p">)</span>
Expand Down Expand Up @@ -271,7 +271,7 @@ <h1>Source code for citylearn.data</h1><div class="highlight"><pre>

<span class="k">else</span><span class="p">:</span>
<span class="n">LOGGER</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;The dataset names DNE in cache. Will download from &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/v</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">filepath</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">filepath</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="s1">&#39;Next time DataSet.get_dataset_names is called, it will read &#39;</span>
<span class="s1">&#39;from cache unless DataSet.clear_cache is run first.&#39;</span><span class="p">)</span>
<span class="n">contents</span> <span class="o">=</span> <span class="p">[</span>
Expand Down Expand Up @@ -304,7 +304,7 @@ <h1>Source code for citylearn.data</h1><div class="highlight"><pre>
<span class="c1"># check that file DNE</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isfile</span><span class="p">(</span><span class="n">filepath</span><span class="p">):</span>
<span class="n">LOGGER</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;The PV sizing data DNE in cache. Will download from &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/v</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">misc_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">misc_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="s1">&#39;Next time DataSet.get_pv_sizing_data is called, it will read &#39;</span>
<span class="s1">&#39;from cache unless DataSet.clear_cache is run first.&#39;</span><span class="p">)</span>
<span class="n">contents</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_github_contents</span><span class="p">(</span><span class="n">path</span><span class="p">)</span>
Expand Down Expand Up @@ -340,7 +340,7 @@ <h1>Source code for citylearn.data</h1><div class="highlight"><pre>
<span class="c1"># check that file DNE</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isfile</span><span class="p">(</span><span class="n">filepath</span><span class="p">):</span>
<span class="n">LOGGER</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;The battery sizing data DNE in cache. Will download from &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/v</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">misc_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">github_account</span><span class="si">}</span><span class="s1">/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">repository</span><span class="si">}</span><span class="s1">/tree/</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">tag</span><span class="si">}</span><span class="s1"> GitHub repository and write to </span><span class="si">{</span><span class="n">misc_directory</span><span class="si">}</span><span class="s1">. &#39;</span>
<span class="s1">&#39;Next time DataSet.get_battery_sizing_data is called, it will read &#39;</span>
<span class="s1">&#39;from cache unless DataSet.clear_cache is run first.&#39;</span><span class="p">)</span>
<span class="n">contents</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_github_contents</span><span class="p">(</span><span class="n">path</span><span class="p">)</span>
Expand Down

0 comments on commit c659593

Please sign in to comment.