Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

The U.S. government is closed. This site will not be updated; however, NOAA websites and social media channels necessary to protect lives and property will be maintained.

To learn more, visit commerce.gov.

For the latest forecasts and critical weather information, visit weather.gov.

data.edit.cut_normalize

data.edit.cut_normalize tries to correct the problem with one second of alternate (0x0010) data bleeding into the bitwise OR average of cut size switched data. It examines an entire switch back and forth and looks for exactly one more point on the alternate cut size. If that condition is met, the point with the flip from alternate to normal is set to normal.

Must be called from within the environment set up by data.edit.get. Will fail outside of that.