bird-house / flyingpigeon Goto Github PK
View Code? Open in Web Editor NEWWPS processes for climate model data, indices and extreme events
Home Page: http://flyingpigeon.readthedocs.io/en/latest/
License: Apache License 2.0
WPS processes for climate model data, indices and extreme events
Home Page: http://flyingpigeon.readthedocs.io/en/latest/
License: Apache License 2.0
fetching slp 2015 rises an error:
ERROR: Failed to execute WPS process [analogs]: failed to fetch input files (returncode:1) cdo cat (Abort): Input streams have different number of variables per time step!
...and add the corresponding new options to the drop down menus in wps_analogs.py and analogs.py
R command prcomp {stats} includes a 'scale.' argument.
appropriate argument has to be include to
https://github.com/bird-house/flyingpigeon/blob/master/flyingpigeon/weatherregimes.py#L6
workaround: pin netcdf4=1.1.1
cfunits is a requirement for ocgis. Needs to be fixed in ocgis ...
cfunits is quite old. Is cf-python the new version?
http://cfpython.bitbucket.org/
Need to ask Ben ...
conda has now a channel for R packages:
See also conda article:
Failed to execute WPS process [extractpoints]: year=1850 is before 1900; the datetime strftime() methods require year >= 1900
Adding some methods to the Ensemble Robustness Process.
e.g. based on:
http://www.tellusa.net/index.php/tellusa/article/view/23139
http://onlinelibrary.wiley.com/doi/10.1029/2011GL049863/abstract
http://www.nature.com/nclimate/journal/v3/n12/full/nclimate2051.html
http://www.nature.com/nclimate/journal/v3/n4/abs/nclimate1716.html
readthedocs shows only the "old" sdm:
http://flyingpigeon.readthedocs.io/en/latest/descriptions/index.html#species-distribution-model
Data preparation is performed with ocgis and cdo commands.
subsetting over the median (longitude = 0) with ocgis results in dividing the domain (see: https://github.com/bird-house/flyingpigeon/blob/master/notebooks/cdo_ocgis.ipynb )
While cdo needs a cdo cat or cdo mergetime (not possible when datafiles are heterogen e.g. only containing sometimes variables like time_bnds) before performing the subsetting of a bounding box.
... needs to be set automatically ... ocgis needs this.
visualisation process works with bokeh=0.7.1 but failes with bokeh>=0.8.0.
The error message is as follows:
Failed to execute WPS process [visualisation]: save() takes at least 1 argument (0 given)
A R function is used for normalisation of resonse curves.
Trans <- function(x){exp(x)/(1+exp(x))}
equivalent function within pyr2 syntax has to be added
@bekozi
ocgis raises 'failed northing' in case of lambert_conformal_conic projection:
<type 'netCDF4._netCDF4.Variable'>
|S1 Lambert_Conformal()
grid_mapping_name: lambert_conformal_conic
standard_parallel: 47.0
longitude_of_central_meridian: 11.0
latitude_of_projection_origin: 47.0
unlimited dimensions:
current shape = ()
filling on, default _FillValue of used
similar to indices process.
additional arguments for percentile (number) and reference period
pinning required conda build-outs for stable environment
... maybe optional ... one could guess the variable ....
castf90 now supports netcdf4 output (beside ascii output which is still default).
Some global attributes need therefore to be defined in the configuration file.
Archive module integrated in utils including an option to select the archive format.
including '>> logfile.txt' into analog.out system call.
changing config file: silence from False to True
selection of geopotential heights levels should output a 3D variable.
Currently it is outputting a 4D variable
Process to transform txt output of analog pressure pattern
and parsing into a JS hmtl file
import wget
resource = []
for year in range(2000, 2010):
url =
'http://www.esrl.noaa.gov/psd/thredds/fileServer/Datasets/ncep.reanalysis.dailyavgs/surface/slp.%s.nc'
% year
resource.append(wget.download(url))
from ocgis import RequestDataset, OcgOperations
rd = RequestDataset(resource[0])
rd.inspect() # works fine
rd = RequestDataset(resource)
rd.inspect() # error:
IOError: No such file or directory
Add other reanalysis such as 20CR, ERA-Interim etc.
Maybe add CMIP5 data
precheck the consistency of the input files
include an option how to deal with inconsistency (longest possible time series or largest number of ensemble members)
castf90 now supports cosine distance.
r-fields is not available.
building with:
conda skeleton cran fields
conda build r-fields
Callable static folder for Javascript files
...
kappa value to define how many regimes being calculated (default = 4)
optional Boolean argument to subtract seasonal cycle of reference period
@sradanov
R plots generating in python.
output in pdf format
@mcalvcas
Possibility of integration of:
https://www.opencpu.org/
for implementation of R skripts.
get netcdf from a dataset and the anomalies from phyton
... this happens for the archive and simulation file (produced by the ocgis_module).
They should be written to the pywps temp folder which is generated by pywps for each process and is the "current dir" in the process call.
Can't see why this happens ...
See also #48
calling existing R scripts to compute weatherregimes
visualization of analogs output file based on a template stored in JSsrc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.