Density error corrects EAS to TAS a requires density altitude, Zd. Compressibility error corrects CAS to EAS and this will vary with pressure altitude, Zp.