Comments (10)
Load from param spreadsheet (don't worry about this, well write run wrappers after).
opsShiftGpsTime(sys,param)
param.properties.location
param.properties.season_name
param.properties.segment_name= string ('20110601_01')
param.properties.offset = float (gps time)
opsGetLayerPoints for segment
create new gps_time vector from layerPoints (shift by offset)
interpolate (inter1,PCHIP) layerpoints values onto new gps_time vector
call opsCreateLayerPoints (same point path id, new layer values)
opsShiftTwtt(segmentName,offset)
segmentName = string ('20110601_01')
offset = float (gps time)
opsGetLayerPoints for segment
shift layerPoints value up/down
call opsCreateLayerPoints (same point path id, new layer values)
from old_ops.
opsShiftTwtt (done) and opsShiftGpsTime (in progress) are in the toolbox.
from old_ops.
@wliu58i5ki status?
from old_ops.
@wliu58i5ki
For opsShiftGpsTime:
-
Get layer data from database - use opsGetLayerPoints
-
create shifted gps times (gps_time + offset)
-
new_twtt = interp1(shifted_gps, twtt, gps_time)
-
Re-insert layer data into database - use opsCreateLayerPoints
from old_ops.
Need to delete layer points for the segment before reinserting.
John Paden
Center for Remote Sensing of Ice Sheets (CReSIS)
Nichols Hall, Room 325
2335 Irving Hill Rd
Lawrence, KS 66045
USA
Cell Phone: (303) 818-6406
Work Phone: (785) 864-1692
From: Trey Stafford [mailto:[email protected]]
Sent: June 04, 2014 3:06 PM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and left/right (#9)
@wliu58i5kihttps://github.com/wliu58i5ki
For opsShiftGpsTime:
-
Get layer data from database - use opsGetLayerPoints
-
create shifted gps times (gps_time + offset)
-
new_twtt = interp1(shifted_gps, twtt, gps_time)
-
Re-insert layer data into database - use opsCreateLayerPoints
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-45144237.
from old_ops.
Looks like create layer points will delete old layer points automatically
On Jun 4, 2014 3:20 PM, "John Paden" [email protected] wrote:
Need to delete layer points for the segment before reinserting.
John Paden
Center for Remote Sensing of Ice Sheets (CReSIS)
Nichols Hall, Room 325
2335 Irving Hill Rd
Lawrence, KS 66045
USA
Cell Phone: (303) 818-6406
Work Phone: (785) 864-1692From: Trey Stafford [mailto:[email protected]]
Sent: June 04, 2014 3:06 PM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and
left/right (#9)@wliu58i5kihttps://github.com/wliu58i5ki
For opsShiftGpsTime:
Get layer data from database - use opsGetLayerPoints
create shifted gps times (gps_time + offset)
new_twtt = interp1(shifted_gps, twtt, gps_time)
Re-insert layer data into database - use opsCreateLayerPoints
—
Reply to this email directly or view it on GitHub<
https://github.com/CReSIS/OPS/issues/9#issuecomment-45144237>.—
Reply to this email directly or view it on GitHub
#9 (comment).
from old_ops.
It only deletes points that are in its way… there will be some points that need to be deleted and not inserted (e.g. gaps will be shifted too).
John Paden
Center for Remote Sensing of Ice Sheets (CReSIS)
Nichols Hall, Room 325
2335 Irving Hill Rd
Lawrence, KS 66045
USA
Cell Phone: (303) 818-6406
Work Phone: (785) 864-1692
From: Trey Stafford [mailto:[email protected]]
Sent: June 04, 2014 3:25 PM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and left/right (#9)
Looks like create layer points will delete old layer points automatically
On Jun 4, 2014 3:20 PM, "John Paden" <[email protected]mailto:[email protected]> wrote:
Need to delete layer points for the segment before reinserting.
John Paden
Center for Remote Sensing of Ice Sheets (CReSIS)
Nichols Hall, Room 325
2335 Irving Hill Rd
Lawrence, KS 66045
USA
Cell Phone: (303) 818-6406
Work Phone: (785) 864-1692From: Trey Stafford [mailto:[email protected]]
Sent: June 04, 2014 3:06 PM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and
left/right (#9)@wliu58i5kihttps://github.com/wliu58i5ki
For opsShiftGpsTime:
Get layer data from database - use opsGetLayerPoints
create shifted gps times (gps_time + offset)
new_twtt = interp1(shifted_gps, twtt, gps_time)
Re-insert layer data into database - use opsCreateLayerPoints
—
Reply to this email directly or view it on GitHub<
https://github.com/CReSIS/OPS/issues/9#issuecomment-45144237>.—
Reply to this email directly or view it on GitHub
#9 (comment).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-45146526.
from old_ops.
@jpaden I have committed, if there is something wrong, please let me know.
from old_ops.
Did you test it out on your textbox with data that you have loaded?
From: wliu58i5ki [mailto:[email protected]]
Sent: June 20, 2014 10:40 AM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and left/right (#9)
@jpadenhttps://github.com/jpaden I have committed, if there is something wrong, please let me know.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-46692916.
from old_ops.
Yes, I did. I used ‘2012_Antarctica_DC8’ data.
From: John Paden [mailto:[email protected]]
Sent: Friday, June 20, 2014 10:41 AM
To: CReSIS/OPS
Cc: Liu, Weibo
Subject: Re: [OPS] Functions for shifting layer data up/down and left/right (#9)
Did you test it out on your textbox with data that you have loaded?
From: wliu58i5ki [mailto:[email protected]]
Sent: June 20, 2014 10:40 AM
To: CReSIS/OPS
Cc: Paden, John D.
Subject: Re: [OPS] Functions for shifting layer data up/down and left/right (#9)
@jpadenhttps://github.com/jpaden I have committed, if there is something wrong, please let me know.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-46692916.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-46693073.
from old_ops.
Related Issues (20)
- Remove 'baseUrl' from the GeoPortal HOT 1
- Query Security HOT 1
- Add MODIS Mosaic of Antarctica Image Map to Geoserver
- Optimizations for GeoServer and PostgreSQL on OPS3
- Finish migrating data from OPS to OPS2 HOT 2
- Possibly change getLayerPointsKML
- Switch OPS3 to OPS2 HOT 1
- Restrict SQL View
- Authentication Matlab
- Permission denied: '/db/django_logs/createPath.log'
- Update Picking Tutorial
- Layer requested from Geoserver has black background
- getSegmentInfo interface bug HOT 1
- Fine resolution Greenland imagery to be added to Geoserver HOT 2
- opsDeleteLayerPoints needs season and segment HOT 1
- Documentation: ensure the update information is complete on each package
- Landmarks
- Update provision software
- Self intersection error during bulk insert
- Geoserver drawing around south pole broken
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 old_ops.