Bill Ladwig
19cf6488c3
Fixes cape crashes when more than 150 levels used.
...
Fixes #86 .
Modified build scripts to unset conda environment flags for compiling and linking.
6 years ago
Bill Ladwig
a490fb7e13
PEP 8
6 years ago
Bill Ladwig
bbc961e17e
Updated wspd wdir to match NCL
6 years ago
Bill Ladwig
8a86e76ead
Updated wspd wdir to match NCL
6 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
99c2af4a98
Make the algerr and errlen parameters
7 years ago
Bill Ladwig
99ff5867ba
Removed pyf file from repository.
7 years ago
Bill Ladwig
4ebce59240
Fix storm relative helicity in southern hemisphere.
...
Latitude is now a required input when using data that has any values in the
southern hemisphere.
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
e1a272adb4
Properly extracts the staggered geopotential height, and removes the 1000 scaling in the Fortran routine. Fixes #75
7 years ago
Bill Ladwig
69fdf01419
Updated default fill value to be a double
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
71fe678e91
Moved work arrays out of fortran. Fixes #47
7 years ago
Bill Ladwig
6564b3c0e3
Updated pyf file for new signutures
7 years ago
Bill Ladwig
cbe0805f79
Fix OpenMP directive issue with cloud top temperature.
7 years ago
Bill Ladwig
607e095a9e
Fix missing openmp private variables
7 years ago
Bill Ladwig
915fe23636
More py3 issues
7 years ago
Bill Ladwig
fbc251e352
More python 3 fixes
7 years ago
Bill Ladwig
d92c11f501
Fix for Python 3
7 years ago
Bill Ladwig
e745270da4
Fix issues related to windows and linux.
7 years ago
Bill Ladwig
91e845ef98
Updated build scripts.
...
Since the size of OpenMP constants differs from system to system, there is now a fortran program that will print the KIND sizes, and the ompgen.F90 file is generated by python using a string template. This only needs to be performed if using OpenMP.
7 years ago
Bill Ladwig
533f93bdc7
Fix build issues related to lock sizes
7 years ago
Bill Ladwig
76a2565764
Fixed issues found during unit testing
7 years ago
Bill Ladwig
16cbaf50ce
Fixed a segfault issue when writing the LCL and LFC values
7 years ago
Bill Ladwig
6a54d31c2e
Added a fortran routine to determine if OpenMP has been enabled. Added a python wrapper, and updated the default omp.f90 and wrffortran.pyf.
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
38f49d2303
Added dummy code to prevent compiler warnings. Removed unused variables.
7 years ago
Bill Ladwig
78f34b4e69
Cleaned up the default implementation of omp.f90 and the pyf file.
7 years ago
Bill Ladwig
7353aca4bd
Set the fortran OpenMP code to use the runtime scheduler so that it can be controlled inside of Python.
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
1c8ca7e287
Added OpenMP runtime library wrappers and build scripts
7 years ago
Bill Ladwig
83573db03f
Renamed omp.F90 to be ompgen.F90.
7 years ago
Bill Ladwig
a3c3ddad27
reverted name
7 years ago
Bill Ladwig
03468fc050
renamed omp.F90 to omp.f90.in
7 years ago
Bill Ladwig
7b79ca3ae4
created wrappers for openmp runtime routines
7 years ago
Bill Ladwig
819cdfe078
Cleaned up cape fortran routine. Fixed issue with generators not being copied correctly due to changes in python (the python works as expected now). Fixed a uniqueness problem with coordinate caching which was causing problems in jupyter notebook when files were changed. Fixed an issue with the cache test script failing due to unitialized thread local data in child threads. Fixes #34 . Fixes #14 .
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
fbb2555eae
Performance improvements
7 years ago
Bill Ladwig
2d0a7e17ce
Added OpenMP directives. Unit tests updated for interpline and vertcross to handle the additional grid point that NCL does not yet have.
7 years ago
Bill Ladwig
ea7aba57b2
Updated OpenMP directives.
7 years ago
Bill Ladwig
c9fdc533d0
Added additional error text.
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
0ee9ec6c89
vectorization improvements and openmp added
7 years ago
Bill Ladwig
8c66408920
Fix computational problem with new fortran DCAPECALC2D routine
7 years ago
Bill Ladwig
64838f1841
Added OpenMP directives for wrf_vintrp
7 years ago
Bill Ladwig
f4eeee927b
Modified the indexing labels so that they make sense.
7 years ago
Bill Ladwig
74ded8f0f9
Added changes for faster cape and twb routines done by @supreethms1809
7 years ago
Bill Ladwig
62ea6c6b74
Fixed issue with the wspd_wdir diagnostic not working with sequences of data. Added WRF Workshop instructions for the upcoming tutorial. Made new fortran functions for wspd and wdir. Fixes #19 , fixes #21 , fixes #22 , fixes #23 .
8 years ago