SASlabgroup / SWIFT-codes

Data handling and processing for Surface Wave Instrument Floats with Tracking (SWIFT buoys)
GNU General Public License v3.0
19 stars 16 forks source link

reprocessAQH code converted to function and ice mask option added #2

Closed smithmadisonm closed 6 years ago

smithmadisonm commented 6 years ago

Converted script to reprocess SWIFT structure to function, where in put is parent directory of SWIFT raw files. Added iceflag option to mask values near surface when sea ice is suspected.

jthomson-apluw commented 6 years ago

Made additional inputs of redraw and iceflag (both logicals), so that the function doesn't need to be edited to change these options. Caught a bug where the variables for correlation and amplitude were inconsistent in the ice section relative to everything use... which lead to the readraw options

jthomson-apluw commented 6 years ago

Also, commented-out the phase resolved calculations (slow). Could resist these in a future version