Comments (4)
It sounds like you need a vector_wrap
option that applies to the dataset. I think this should go on the RequestDataset
with options like:
wrap=True
Wrap to -180 to 180.wrap=False
Unwrap to 0 to 360.wrap=None
(Default) Leave as is.
Have you tested with a "wrapped" grid?
from flyingpigeon.
Nice idea.
Was first thinking in a wrong way.
cdo is handling it like that (updated the notebook):
print lon[:]
[-78.75 -76.875 -75. -73.125 -71.25 -69.375 -67.5 -65.625 -63.75
-61.875 -60. -58.125 -56.25 -54.375 -52.5 -50.625 -48.75 -46.875
-45. -43.125 -41.25 -39.375 -37.5 -35.625 -33.75 -31.875 -30.
-28.125 -26.25 -24.375 -22.5 -20.625 -18.75 -16.875 -15. -13.125
-11.25 -9.375 -7.5 -5.625 -3.75 -1.875 0. 1.875 3.75
5.625 7.5 9.375 11.25 13.125 15. 16.875 18.75 20.625
22.5 ]
would it be possible to be consistent with that?
wrap option (True/False/None) could be a solution
Merci
nils
from flyingpigeon.
Yeah, that should be possible. The data needs to be wrapped before the subset otherwise the masked values will be an issue.
from flyingpigeon.
Done
from flyingpigeon.
Related Issues (20)
- Bug with subset on opendap resources
- polygon subset: loop over single files HOT 1
- Split plot process into seperate processes for each plottype HOT 2
- ocgis skips rlat rlon values for polygon subsets
- plot spatial_analoges via plot_map function
- reactivate plot_robustness HOT 1
- reactivate Robustness Process HOT 1
- Average over polygon subset HOT 7
- Flyingpigeon independend of eggshell HOT 4
- readthedocs documentation failed HOT 18
- add tests and test-notebooks HOT 24
- brocken test_wps_subset_bbox HOT 2
- Move IO objects from subset base to wpsio HOT 1
- Refactor subsetting processes HOT 2
- Testdata for ensemble processes
- add variable as parameter for country and continent subsets
- take out sort_by_filename in country continent subset
- Using IPCC Color Palettes
- subset_wfs_polygon fails with too many features
- Process definition with minOccurs=1 and defaultvalue contracdict themselves
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 flyingpigeon.