Profile Flags in CODAS

"Profile flags" indicate the editing status of a given bin or profile. They are bits associated with different kinds of flagging:

binary decimal range Percent Good bin
000 0      
001 1     bad
010 2   bad  
011 3   bad bad
100 4 bad    
101 5 bad   bad
110 6 bad bad  
111 7 bad bad bad

An explanation of the application of these flags to the codas database is give here.

An example follows in which editing flags were created and stored in badbin.asc, badprof.asc, and bottom.asc. They were then applied to the database and an ascii dump was made of the database. You can look at the files to see the effects of each subsequent editing step.

command ascii dump of database
badbin ../adcpdb/edemo badbin.asc step1_edemo001.asc
dbupdate ../adcpdb/edemo badprf.asc step2_edemo001.asc
dbupdate ../adcpdb/edemo bottom.asc step3_edemo001.asc
set_lgb ../adcpdb/edemo step4_edemo001.asc
setflags setflags.tmp step5_edemo001.asc