Comments (3)
@pulkkins , since the fft method is used in several modules, another alternative to the interface is implementing something similar the matplotliob.use function used to set the plot backends.
The default fft method can be defined in the rcparams by default, and changed by the the user.
Then, fft method can be changed in runtime by calling a function pysteps.set_fft("fft_method").
To force all the modules to use the selected fft, the pysteps modules can make use of a pysteps.fft function that is updated by the set_fft method changing its reference to the corresponding method. When the user select a library that is not installed, an exception is raised.
In this way, the sources that use the fft only need to import it as **from pysteps import fft".
from pysteps.
I agree with @aperezhortal, we could actually use the rcparms for many of the parameters in pysteps, thus avoiding having every time to pass a long list of arguments when calling a nowcasting method.
from pysteps.
The FFT interface module has been implemented. I'll leave this issue open because using rcparams for choosing the FFT method still needs to be implemented.
from pysteps.
Related Issues (20)
- How to handle no rain in pysteps? HOT 8
- Error: aggregate_fields_space HOT 2
- Power spectral density (PSD) with "rapsd" function HOT 2
- Unable to run any of the example scripts HOT 4
- Input for pysteps HOT 3
- how to import my own dataset (.tiff) HOT 2
- location parameter L2 in the SAL verification HOT 6
- Insert Nowcasting Model PhaSt in the pySTEPS package HOT 11
- STEPS-blending: Losing small scale features in the first time steps and other issues HOT 4
- STEPS-blending: deterministic mode not working
- Install pysteps on Mac with Apple silicon processors HOT 4
- fft_method pyfftw causes unexpected noise additions when using multi-threading HOT 5
- missing module HOT 3
- Satellite data as input for pysteps HOT 3
- Structure parameter in SAL verification metric
- No reproducibility of steps blended nowcast when using noise_stddev_adj='auto' HOT 4
- Possibility of generating intermediate values between data points? HOT 2
- Add Kalman-filter based post-processing to blending scheme HOT 1
- Cannot update coverage reports to codecov
- CI fails to install pysteps on macos-latest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysteps.