JavaScript disabled You need to activate JavaScript in order to use OpenProject! Learn more
DOC: Removed from Gettig Started installation instructions everything that refers to the BUFR software.
This is because BUFR software is now an optional dependency, so users shoudl not be bothered with it during regular installation.
DOC: Minor typo.
DOC: Referred to the doc section about optional imports in the exception raised by class OptionalModuleStub.
DOC: Added a doc sub-section "Optional Dependencies" to the "Getting Started" section.
Please beware that the content of this section is preliminary. We need to add more info o how to install the BUFR module. In tzhe future, we need to take care of keeping...
DOC: introduced a more telling default mode for correctAttenuationHB.
Changed the docstring accordingly
FIX: fixed a bug in correctAttenuationHB.
- the checks for attenuation overflow looked at the wrong gate - the 'nan' and 'zero' mode assigned their values to the wrong gate
DOC: Clarified the new behaviour of read_RADOLAN_composite in the function docstring.
ENH: refined optional_import to allow global imports.
function now always returns an object (the actual module on success, a stub object on failure), so that imports may also be done globally without breaking the code on a failed import. The lazy import will be...
MIN: Some minor edits in the use of the deprecated decorator.
DOC: Removed reference to speedup from the module docstring.
Some other minor edits in the module docstring.
MIN: Marked several functions as depercated in the dp module.
The functions are fill_phidp and process_raw_phidp.
MIN: Marked several functions as deprecated in the vis module using the new decorator.
Decorated as deprecated are:
PolarPlot --> replaced by plot_ppi polar_plot2 --> replaced by plot_ppi polar_plot --> replaced by plot_ppi CartesianPlot --> no replacement...
ENH: Added a deprecation decorator function in the util module.
The decorator can be used in order to mark deprecated functions. If these functions are called, a DeprecationWarning will be raised.
In order to use the decorator, just
>>> from util import deprecated...
MIN: Release version is now specified in text file version, not in setup.py anymore.
REF: Removed anything related to the BUFR software from wradlib setup.
Now, wradlib should install as a pure python package.
MIN: In the global section of module bufr, we now check whether the BUFR software is operational.
If it turns out that the BUFR software (mainly decbufr) is not operational on that system, module bufr will raise an ImportError. In that case, util.import_optional...
MIN: The import of the bufr module is now via lazy loading in read_BUFR in module io.
The global import of the bufr module in the io module was removed.
FIX: Fixed an error in the call of import_optional
MIN: removed import of module bufr from module __init__.
MIN: Using lazy loading and optional import for the speedup module in module dp.
This means the dp does not try anymore to globally import speedup. Insstead, speedup is imported by util.import_optional within the function dp.unfold_phi.
No change in behaviour, execpt no warning will show if you run dp but not use...
ENH: First prototype of optional_import function in module util to facilitate lazy loading of optional modules.
This porottype will be refined, soon.
REF: Removed all "from module import *" statements that import funcitons directly into the wradlib namespace.
This requries refactoring of all code that calls wradlib funcitons directly from the wradlib namespace instead of from the corresponding modules....
MIN: Modification of aggregate_equidistant_tseries in module util.
The function was changed in a way that we now check for each target time interval whether source and target time specs are consistent. If they are not, the target value for that target interval will be NaN. Bfore that change, the entire target series...
DOC: Minor documentation edits in dp module overview.
DOC: Fix in dp doc.
DOC: Minor changes in dp documentation.
FIX: changed order of dimension slices. Fixes issue #16
The recipe had not been updated to reflect the change in coordinate dimension order convention for 3-D data.
FIX: removed assertion to avoid errors with new DX-files.
Apparently the DX-format writers at the DWD have a strange way to calculate product length. It looks like the 0x03 character used to separate the header from the data is not counted, or counted once too many or, I don't know....
FIX: pia_from_kdp did not consider gate length when computing PIA from KDP.
FIX: in correctAttenuationConstrained2-Function, where reference-pia interpolation and pia-calculation in small sectors of incorrect beams only takes place now, if they exist indeed; - changed internal variabel name invalidbeams -> small_sectors for better understanding...
ENH: made plot_ppi always return axes with equal aspect (avoiding radar 'eggs').
MIN: minor code beautifications.
DOC: added some in-code documentation to vis.plot_ppi and vis.plot_rhi
ENH: added examples for the new plot_ppi routine
NEW: Added function vis.ppi_plot_crosshair
ENH: Added ability to georeference and project coordinates in plot_ppi.
NEW: Introduced functions plot_ppi and plot_rhi. These functions plot data assumed to be in the radar polar coordinate system directly on a cartesian matplotlib axes, allowing zooming and easier additions of other data.
Merged in kai_muehlbauer/wradlib_miub (pull request #13)
Minor changes in cg_plot and GAMIC hdf reader
Merged in thpfaff/wradlib (pull request #12)
ENH: Introduced polar2latlonalt_n and helper functions.
FIX: changes to readDX, fixes issue #4 - fully interpret and return the header information - read only the amount of data indicated by the header regardless of file size - remove static truncation to 128 range bins
FIX: changed import datatype in read_radolan_composite to uint16 and added type cast in order to avoid problems similar to those reading RX-data
MIN: removed rho as argument from process_raw_phidp_vulpiani because it is not used anymore.
wradlib/wradlib mit default zusammengeführt
FIX: Fixed an error related to the window length in the finite difference scheme of kdp_from_phidp_finitediff.
FIX: Removed several bugs from new function process_raw_phidp_vulpiani in module dp.
REF: A lot of formal changes in the dp module including renaming of functions and an enhancement of process_raw_phidp2.
Providing more informative function names
kdp_from_phidp --> kdp_from_phidp_finitediff
kdp_from_phidp2 --> kdp_from_phidp_linregress...
ENH: Added function aggregate_equidistant_tseries to util module.
This function aggregates time series data under the assumption that the source and the target time series are equidistant, and that the source time steps regularly fit into the target time steps (no shifts at the boundaries)....
ENH: Added function timestamp2index, which allows to calculate indices of an equidistant time series from time information (human readable strings or python datetime/timedelta objects). ... and helper functions.
MIN: Passing the window size for KDP retrieval consistently as a kwarg in process_raw_phidp2.
MIN: Some minor changes in ErrorMetrics.
Including that (i) pbias is now computed in percent as it should, (ii) pbias is reported by default, (iii) avoiding reports and plot attempts of no valid pairs of obs and est are available.
MIN: Removed a minor TODO warning that is always and annoyingly printed to the screen.
MIN: cg_plot.colorbar routine added check for integer/real numbers for proper display of ticklabels
Merged in kai_muehlbauer/wradlib_miub (pull request #11)
#11: Improvement io.py - read generic hdf5
MIN: one last cleanup.
FIX: made read_RADOLAN_composite return its data properly multiplied by the precision factor found in the header. This is a major change in behavior! Even though it may be considered as a bug fix it will break code for most users who worked with this function...
FIX: made read_RADOLAN_composite close its opened file.
ENH: introduced missing keyword to read_RADOLAN_composite. To avoid hardcoded values as much as possible
ENH: made parsing of header info more independent from individual locations (as recommended in the latest RADOLAN composite format documentation [v2.2.2])
MIN: Some code beautifications
ENH: changed print statements inside read_RADOLAN_composite to warnings
FIX: added radar height to final altitude
DOC: Updated doctests for polar2latlonalt and polar2latlonalt_n
FIX: hammered out one big bug
ENH: made call signature of polar2latlonalt_n similar to that of polar2latlonalt
FIX: moved conversion of angles from degrees to radians, so that behavior is more intuitive (working with degrees on the user side, and thus actually following the documentation).
ENH: Introduced polar2latlonalt_n and helper functions. calculates geographical (sphere based) coordinates from radar coordinates, taking both earth's curvature and the refraction of radar beams in the air into account.
FIX: added conversion to 32-bit int for RX-data, because otherwise the data type of the array would not be sufficient to store -9999 nodata values.
DOC: minor fixes
FIX: Fixed wrong datetime interpretation in RADOLAN composite and added new 150 km radius.
MIN: Trying to make MFB adjustment more robust.
Before an adjusment facator is computed, we fit a linear regression and evaluate slope, p-value and correlation. We compute an adjustment factor only if a strong relationship is indicated (slope > 0.1, r > 0.5, p < 0.01)....
MIN: removed the range_lim argument from read_EDGE_netcdf.
Limiting the range is something tpo be done outsode the reading function. Now, the entire range is returned.
MIN: Introducing exception handling for reading input files in read_EDGE_netcdf.
The aim is to at least close files if an error occus during reading, using try except finally. This might be a model for all input functions. The exception will be raised (or can be caught outside the function), but the file will...
FIX: Passing range length to sub-functions within process_raw_phidp2.
ENH: Added new functions for PhiDP reconstruction based on Vulpiani (2012).
The functions involve unfold_phidp_2 and a new convenience function process_raw_phidp2.
Once we know more about the behaviour of these function, it will be time to clean up the dp module a little.
FIX: adding dr to argument list of kdp_from_phidp.
ENH: Added fourth experimental Kdp retrieval based on convolution filter suggested by Kai Mühlbauer.
The function is named kdp_from_phidp4. It also takes care of remaining NaN values. If phidp does not contain NaNs, only the convolution filter is applied.
FIX: Fixing bug in handling the end of the beam in kdp_from_phidp2.
Also inserted the explicit handling of start and end of the beam to kdp_from_phidp3.
FIX: Accounting for forward/backward propagation effects in kdp_from_phidp2 and kdp_from_phidp3.
ENH: New experimental Kdp retrieval function kdp_from_phidp3.
This function should be robust AND fast. For contiguous valid regions, it applies a sobel filter, for remaining NaN regions with valid neighbours it performs a local linear regression.
Beyond, all the kdp_from_phidp functions now have an argument dr which specifies the...
MIN: kdp_from_phidp2 now explicitely handles the start and the end of each beam.
For the start and the end of the beam, we do not use a "central window" around a gate, but we use a forward window for the first L/2 gates and a backward window for the last L/2 gates.
ENH: Adding new experimental function for Kdp retrieval (kdp_from_phidp2).
This function uses a moving window linear regression and should also work for data with gaps. STATUS is experimental.
FIX: Adapting VPR functions to new z-y-x order of 3-D arrays
Added correctAttenuationConstrained2 as an attenuation correction very close to Kraemer algorithm.
ENH: Added percent bias (pbias) as verificaiton measure to ErrorMetrics.
MIN: Provides the option to pass parameters accepted by the functions to process_raw_phidp.
This change was necessary so the user is not forced to use the default parameters of all the functions that are used in the convenience funciton process_raw_phidp.
MIN: Changing the default value of the margin argument of fill_phidp to 3.
MIN: Added the requirement to MFB that there should be at least "mingage" number of valid raw and obs pairs.
Also added a try/except statement to the linear regression in case line fitting fails.
DOC: Exposing the class adjust.GageOnly in the documentation.
ENH: Making Mean Field Bias Adjustment (MFB) more robust by using linear regression.
If biasby argument to MFB.__call__ was "mean", the bias was computed by simply computing the mean of the ratios between obs and est. Now a new argument value is introduced which is "linregr" (now the default value). In that case, the bias is...
Also available in: Atom