Giter Site home page Giter Site logo

Comments (10)

kpurdon avatar kpurdon commented on August 19, 2024

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.

kpurdon avatar kpurdon commented on August 19, 2024

opsShiftTwtt (done) and opsShiftGpsTime (in progress) are in the toolbox.

from old_ops.

kpurdon avatar kpurdon commented on August 19, 2024

@wliu58i5ki status?

from old_ops.

treystaff avatar treystaff commented on August 19, 2024

@wliu58i5ki
For opsShiftGpsTime:

  1. Get layer data from database - use opsGetLayerPoints

  2. create shifted gps times (gps_time + offset)

  3. new_twtt = interp1(shifted_gps, twtt, gps_time)

  4. Re-insert layer data into database - use opsCreateLayerPoints

from old_ops.

jpaden avatar jpaden commented on August 19, 2024

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:

  1. Get layer data from database - use opsGetLayerPoints

  2. create shifted gps times (gps_time + offset)

  3. new_twtt = interp1(shifted_gps, twtt, gps_time)

  4. 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.

treystaff avatar treystaff commented on August 19, 2024

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-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:

  1. Get layer data from database - use opsGetLayerPoints

  2. create shifted gps times (gps_time + offset)

  3. new_twtt = interp1(shifted_gps, twtt, gps_time)

  4. 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.

jpaden avatar jpaden commented on August 19, 2024

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-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:

  1. Get layer data from database - use opsGetLayerPoints

  2. create shifted gps times (gps_time + offset)

  3. new_twtt = interp1(shifted_gps, twtt, gps_time)

  4. 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.

wliu58i5ki avatar wliu58i5ki commented on August 19, 2024

@jpaden I have committed, if there is something wrong, please let me know.

from old_ops.

jpaden avatar jpaden commented on August 19, 2024

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.

wliu58i5ki avatar wliu58i5ki commented on August 19, 2024

Yes, I did. I used ‘2012_Antarctica_DC8’ data.

Weibo

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.