Bill Ladwig
663e8779f2
Fix doc example
6 years ago
Bill Ladwig
d15d4a3e2d
ll_to_xy_proj and xy_to_ll_proj now check for required args and set defaults.
...
Fixes #61 .
6 years ago
Bill Ladwig
06280e5cae
Fix issues found during testing of static and moving nests.
7 years ago
Bill Ladwig
4eeeadc9ce
Fix issues with moving nests and line interpolation.
...
Updated unit tests.
7 years ago
Bill Ladwig
7cd61c756f
Improved documentation for the vintrp routine.
...
Closes #79 .
7 years ago
Bill Ladwig
d9585354c0
Improved horizontal interpolation
...
- Can now specify single level, multiple levels, or interpolate
to a 2D surface like PBLH.
- Should perform better when interpolating multiproduct fields
like wspd_wdir.
Fixes #65 .
7 years ago
Bill Ladwig
a3880b1e10
Added autolevels parameter for vertcross
...
Users can now specify how many autogenerated levels they want
Updated unit tests with NCL for the new routines.
7 years ago
Bill Ladwig
d67586c09b
Fixed the smoothing algorithm.
...
It now works like a typical smoothing kernel using convolution.
Users can now specify the center weight.
The vintrp algorithm needed to be modified to use the new function signature.
Updated the documentation to give a better description of how it works.
Fixes #67 .
7 years ago
Bill Ladwig
cf188383ed
Moved some variable extraction to where it is needed.
...
Fixed a unit issue with extrapolating pressure below ground.
Added support for height fields in km and pressure fields in hPa.
Updated documentation.
Fixes #71 . Fixes #74 .
7 years ago
Bill Ladwig
60989dd47a
Removed unicode literals.
...
Python 2.x strings are no longer promoted to unicode. Strings are now the native type for the interpreter used.
Fixes #57 .
7 years ago
Bill Ladwig
5799ccf6d0
Fixed bugs related to input failures with dictionaries.
...
Modified routines that use qvapor to make copies so that scipy.io.netcdf works in the newer release. Added input tests.
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
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
8b21b10860
Renamed the internal 'get_' modules to have their names start with 'g_' to avoid naming issues with the raw computational routines. Closes #33 . Closes #32 .
7 years ago
Bill Ladwig
6239fc16fd
Fixed numerous issues with reading scalars and non-grid variables from the NetCDF file using getvar. Adds unit tests for reading file variables. Fixes #37
7 years ago
Bill Ladwig
d66a81a98a
Fixed wrf_monotonic performance issues caused by an accidental revert
7 years ago
Bill Ladwig
3056a34ea2
Fix parallel computation problem with wrf_monotonic
7 years ago
Bill Ladwig
b0a6f9e268
Performance improvements.
7 years ago
Bill Ladwig
cf7286294d
Fixed formatting issues and typos with vertcros and interpline, and fixed some bogus references in some computation routines.
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
e83b0af5a3
Docstring update
8 years ago
Bill Ladwig
9629bf121a
Renamed npvalues to to_np. Fixed issue with generator expressions crashing.
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
eec730c8ab
Fix documentation typos. Updated API outlines. Fixed an issue with a computation routine name conflict.
9 years ago
Bill Ladwig
bfd28da171
Updated API documentation. Added levels to the vertcross routine so users can specify their own vertical levels
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
e69767e1e6
Fixed issue with moving domains contained in a single file. Added support for multi-product arrays being used in the interpolation routines.
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
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
8e82d45d5c
views can now be passed to fortran routines in order to prevent copying when using multiple times. Modified decorators to support this feature.
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
c7f5f0917f
removed the var package. wrf is no longer a namespace package.
9 years ago
Bill Ladwig
ea7adb994f
Fixed problems with the moving domain. Added performance tweaks to the cat operation and fixed the behavior of the cat operation to properly extract the correct time index. Fixed the join operation with multiple files/times. Now supports negative indexes and uses None to get all times. Added an ALL_TIMES constant for readability.
9 years ago
Bill Ladwig
101895d3f4
generators and iterables no longer get expanded in lists.
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
Bill Ladwig
f862a793e2
Added metadata decorators (untested and buggy)
9 years ago
Bill Ladwig
a887fa1a44
Added projection support. Added configuration to allow cartopy, basemap, xarray, etc to be optional. Began adding metadata support.
9 years ago
Bill Ladwig
5a8b146d38
All unit tests now pass. Added unit tests for vinterp. Fixed minor bugs and formatting issues.
9 years ago
Bill Ladwig
ad66cd6c07
Added vertical interpolation routine. Fixed isssues related to it
9 years ago
Bill Ladwig
a44dd47892
Changed default missing value to the one from netcdf.h that NCL uses
9 years ago
Bill Ladwig
20d8a743f2
Added smoothing fortran code. Tested and fixed interpolation routines. Fixed bug with SLP constant.
9 years ago
Bill Ladwig
f45ac9756e
iteration decorator now uses first output to determine output dimensions. Added 2D interpolation to a line
10 years ago
Bill Ladwig
5b89a89c2e
Now squeezes single element multidim arrays. Timeidx made a positional argument and removed from kargs check
10 years ago