Comments (11)
This code might be useful: https://github.com/creare-com/pydem/blob/master/pydem/utils.py#L145
from podpac.
This might also be useful: https://pyproj4.github.io/pyproj/stable/api/crs/crs.html
from podpac.
Left to-do
- Finish Unit Tests
- Check for units
from podpac.
- cKDTree with boxsize wraparound implementation for stacked NearestNeighbor
- UTM projection handling
from podpac.
For coords.horizontal_resolution(units='m', type='nominal')
, let's talk about the different types
types =
- "nominal" <-- this is wrong but cheap to calculate. Give a 'nominal' resolution over the entire domain
- "summary" <-- This is still approximate, gives the mean and standard deviation to each point
- "full" <-- min distance between every point (dx, dy, basically)
- "full_exact" <-- uses brute-force for the stacked coordinates
This is a proposal, feel free to propose something better.
from podpac.
Implemented 3 of the 4 types:
- "nominal" <-- this is wrong but cheap to calculate. Give a 'nominal' resolution over the entire domain
- "summary" <--- Returns average and std.dev for each point.
- "full" <--- returns the exact distance between every point, or every dx,dy if coordinates are unstacked
from podpac.
from podpac.
from podpac.
Wrote some code to address the problem of lat/lon evaluating to different distances based upon the other dimension's value. However, I realized once passing in non-square unstacked coordinates that I failed to account for the difference resolution changing for each differing value of the other dimension.
Let our unstacked coordinate system be a
Previously, we were returning two arrays of size
Another example:
Instead, we want to return this for latitude:
So, for latitude we want to return a
For longitude:
So, for longitude we want to return a
For the "summary" type resolution, we can simply average/compute std.dev of all of these values.
from podpac.
The
from podpac.
closed by #505
from podpac.
Related Issues (20)
- Style enumeration dictionary HOT 1
- cache documentation
- Interpolation selector uses full coordinate range with negative step
- Test reverse monotonic coordinate interpolation
- FIX: GFS Datasource HOT 2
- [bug] Dependency on dummy version of osgeo HOT 9
- Use global context for pyproj when single-threaded
- UndefinedRotationError in RotatedCoordinates geotransform roundtrip HOT 11
- Floating point Uniform Coordinates inconsistency HOT 1
- Fix JSON data format HOT 5
- Latest Pint Module Version not compatible with latest podpac HOT 2
- 4.0 Release Ideas HOT 9
- Mac install failed with ValueError: scipy.__spec__ is None HOT 2
- CI Tests are broken
- Enable non-contiguous enumerations HOT 1
- Efficient Computation of Statistics for a Non-linear N-dimensional Function with Dependent Variables HOT 3
- merge_dims should not throw CRS error when merging "time" with "Lat/Lon/Alt" coordinates
- failure in executing node.eval to work with terrain data tutorial HOT 9
- Allow custom coordinate dimensions HOT 17
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 podpac.