Adaptive Mesh Refinement for Hyperbolic Systems Based on Third-Order Compact WENO Reconstruction