Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add more documentation for v0.2.7 (#66)
* bump version to v0.2.7 Brown Bicycle Bears * remove history from readme and just link to github releases page * fix pep8 errors from setup.py * update documentation * add announcements * add new style pvpower demo model to examples * update pvpower tests with new and old models * add announcement regarding changes to interval and sim_length in simulations class * * update quickstart docs section in getting started * models test wasn't testing model #1 which specifies parameter path as class attributes * fix typos in docstring for quickstart * add parameter specification methods section to docs * in getting started explain why there are 2 different methods for specifying parameters * get rid of the batch example in tests that was never used * add docstrings to sim test to explain that it tests specifying the sim param file as class attrs * rewrite tutorial 1 using new style parameter specifications * fix italic format typos, not markdown * add ordered list to parameters section on model styles * fix cross reference name error in tutorial 5 * reorg outputs tutorial to put class attrs spec style first * add Outputs to tutorial title and Outputs Class section after intro * add Outputs Registry section with link to last tutorial and promise for further discussion * change material property example from soiling to degradation, and give power as non-material property. * add model test for no model parameters and check state is "uninitialized" * add data, formulas, scripts, models, layers, readers and scripts pages to docs * use argparse in carousel-quickstart script instead of checking sys.argv * fix indent for example code in data_readers.py JSONReader class * add links to model.py module docstring for model->models plural and Model class, also make sentence less wordy * add models and layers modules to core.rst, remove extra spaces and promote Core header up a level * don't autodoc UREG, instead use explicit markup and make a link to Pint documentation * add Carousel JSON Encoder to core.rst too * fix there was no data-sources or data-readers labelsin the docs, but there were references to them, huh? * there were references to non-existing formulas lable too, true! * don't autodoc carousel-quickstart since it can't be imported easily since it uses a hyphen, instead use explicit markup and move the docstring to scripts.rst since the argument parser provides help instead * finish rewrite of tutorial 1: Outputs - finish alternatel parameter file style and examples - add table of calculated output attributes - include timeseries in first attr table - add explaination re: timeseries to constant flag section * add more detail re: quickstart in getting started about the PROJ_PATH constant in the project package __init__.py file and links to API * start rewriting of calculation tutorial * also update getting started references to PVLIB * also explain that example is in repo and sdist * finish improving tutorial 2 * also remove the TODO in FormulaBase about converting methods in the formulas class to either static methods or whatever. This question was closed in issue # 65 * fix wordy sentence and typos in getting started * show full path to Output class in tutorial 1, remove extra spaces from fancy format table * change "resize outptus for output" to "outputs for writing files" * more typos everywhere * add "Calculations" to tutorial 2 title * add calculation attributes section and change `always_calc` to ignores thresholds * move parameter file style to end instead of v.v. Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com> * start on tutorial 3 * make tests for numexpr importer * also fix constants not used in DataBase meta class for data_reader and data_cache flags * fix bugs in NumericalExpressionImporter - formulas were not returned! return the formulas! - transpose retval so uncertainty wrapper knows how many observations there are! * pop formula_importer from attr in FormulaBase so it can be overwritten in subclass * start section on formula attributes in tutorial 3, and add :: markup for code examples * new test also checks that uncertainty and jacobian or correct, even for multiple observations * add detail section on units and uncertainty * add attributes section to tutorial-3 * fix don't need trailing None for input data args, oops! * reshape output for formulas in test_sim * recursively load packages before loading model if not on path * always check if formulas are already imported or on python path * add details to formulas tutorial about specifying module, package and path * add tutorials for data, models and simulations * finish documentation quickly (so it's rough) * complete data source attributes section, including data reader and enable cache * add data reader section * add simulation class example, attributes section * add model class example and demo of running model simulation * demo how to retrieve registry data * add contrib to api so links to new readers work
- Loading branch information
Showing
27 changed files
with
2,014 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.. _contrib: | ||
|
||
Contributions | ||
============= | ||
This sub-package of carousel contains contributions that are considered | ||
important parts of development, but have not been merged into the core | ||
sub-package yet. | ||
|
||
Readers | ||
------- | ||
.. automodule:: carousel.contrib.readers | ||
|
||
Argument Reader | ||
--------------- | ||
.. autoclass:: ArgumentReader | ||
:members: | ||
|
||
Django Model Reader | ||
------------------- | ||
.. autoclass:: DjangoModelReader | ||
:members: | ||
|
||
HD5F Reader | ||
----------- | ||
.. autoclass:: HDF5Reader | ||
:members: |
Oops, something went wrong.