Bill Ladwig
8523dea59a
Added support added for calculating cape_2d with a single vertical column.
...
Fixes #46 .
7 years ago
Bill Ladwig
cc86d68a35
Fix issues related to cloud top temperature.
...
Fixed indexing bug.
Fixed incorrect computation of optical depth when cloud ice is not available.
Users can use fill values for cloud free areas.
Users can now specify the optical depth threshold that triggers the calculation.
Fixes #45 .
7 years ago
Bill Ladwig
812c546d95
Changed vertcross and interpline to use a CoordPair for the lower left corner point.
...
Also added some helper functions to extract the lower left points from 2D lat/lon arrays and extract lat/lons from sequences of CoordPair objects.
Updated documentation and unit tests.
7 years ago
Bill Ladwig
b8bc1fbb38
Fixes vertcross and interpline when using lat/lon coordinates with a projection object.
...
The fix requires the user to supply the lower left lat/lon corner points for the domain. Added unit tests. Updated docs. Fixes #44 .
7 years ago
Bill Ladwig
0d6f9230da
Fixed metadata bugs related to interpolation.
...
Unit tests were also updated to test for this situation.
7 years ago
Bill Ladwig
3441467ecb
Added a product for the vertical staggered grid. Fixes #20 .
7 years ago
Bill Ladwig
23520ac34f
Now throws a warning if latlon is set to True, but there is no coordinate metadata for vertcross and interpline. Fixes #38 .
7 years ago
Bill Ladwig
0c270c7e02
Added more OpenMP Directives. Fixed serious bug with cloud fraction and implemented new behavior allowing users to select the vertical coordinate type and select their own cloud thresholds. Fixes #25 .
7 years ago
Bill Ladwig
cbb0a10220
Added support for using a single column of data for the cape_3d routine. This was an NCL feature that should have been included. Fixes #9 .
8 years ago
Bill Ladwig
ee7ca7c3ad
Fix issue with vinterp and heavily cropped datasets in the vertical. Added continuous integration tests for conda-forge. Changed some documentation wording.
8 years ago
Bill Ladwig
c4d623235c
Fix for xarray 0.9, which removed default dimensions from the coordinate mappings
8 years ago
Bill Ladwig
1d877a6b6c
Changed the mapping API. Users no longer have to use xarray coordinates directly. Added a new class for GeoBounds. Slices of variables should now be easier to plot. Added better metadata for smooth2d.
8 years ago
Bill Ladwig
9629bf121a
Renamed npvalues to to_np. Fixed issue with generator expressions crashing.
9 years ago
Bill Ladwig
1c7baf0a4e
Updated documentation. Fixed bugs found while creating examples, mostly related to xarray and compiled extensions.
9 years ago
Bill Ladwig
9be5a86a1b
Now uses CoordPair for vertical cross sections so that lat/lon points can be used directly.
9 years ago
Bill Ladwig
49092f6ac1
Added docstrings to all functions. Modified some argument names for better consistency. Added unit support to raw computational algorithms. Modified setup.py to work with readthedocs. Modifyied conf.py to use mocks for readthedocs. Modified gitignore to ignore the generated documentation folder.
9 years ago
Bill Ladwig
bf0d26b7b0
Moved the CoordPair to a new module. Added operators for CoordPair. Fixed some missing from __future__ imports. Fixed some metadata issues due to arg name changes.
9 years ago
Bill Ladwig
c2fa5405fb
Added new unit aliases to better match udunits, if we ever go down that route. Changed temperature to use Kelvin as base unit, so speed should improve. Added unit test for units to make sure they all run
9 years ago
Bill Ladwig
00f7170e58
Added tests for the ll_to_xy and xy_to_ll routines. Fixed bugs found during testing. Fixed numerous typos and removed obsolete code.
9 years ago
Bill Ladwig
7e503a145b
Added thread local coordinate and is_moving caching so that this is only done once. Modified the latlon/xy routines to put the product on the left like NCL. Updated unit testing to add the latlon routines. Updated ipynb scripts.
9 years ago
Bill Ladwig
1f731e8b25
Added the jinja patch for 1.21 conda-build so it works with numpy distutils. Added code for the threadlocal caching. Added a cached test. Modified cloudfrac to match what has been committed to NCL. Modified the NCL test script to add cloud fraction.
9 years ago
Bill Ladwig
0688765ef8
Added version information. Added more distribution boiler plate. Removed unused squeeze for the algorithm metadata
9 years ago
Bill Ladwig
a07297636a
Added computational unit tests. Most, if not all, computational unit tests passed. Removed obsolute routines. More code cleanup for fortran. Changed constants module to wrf_constants.f90. Fixed bugs.
9 years ago
Bill Ladwig
68b9f1a6eb
Completed the backporting of fortran 90 code to NCL. All routines should now pass numpy views directly to fortran to be filled rather than copying. Multi-product output now moves the product type to the left index. Raw computational routines have a public API (not tested yet however). Lots of clean-up done, and lots remaining.
9 years ago
Bill Ladwig
e0560ba4f0
Added a conda recipe. Metadata cleanup for wind and interpolation. Wind algorithms now put the u_v dimension as left-most, like in NCL.
9 years ago
Bill Ladwig
675c920f0b
Unit tests now all pass in python 3
9 years ago
Bill Ladwig
da689aaa1c
removed the python directory
9 years ago
Bill Ladwig
985cd38bcc
removed the wrf_open directory
9 years ago
Bill Ladwig
89924267da
Fixed compatability issues with Python 3
9 years ago
Bill Ladwig
c7f5f0917f
removed the var package. wrf is no longer a namespace package.
9 years ago
Bill Ladwig
db0c4d37f2
Added ability to turn off metadata to getvar. Modified function argument ordering
9 years ago
Bill Ladwig
27f7201841
Bug fixes for demo
9 years ago
Bill Ladwig
07349af907
Numerous changes to make DataArray implementation pass all unit tests. Properly uses setuptools to make namespace.
9 years ago