public static String pressureUnitIndexToString(int index) {
       switch (index) {
            case 0: 
                return "hPa";
            case 1:
                return "kPa";
            case 2:
                return "psi";
            case 3:
                return "bar";  
            case 4:
                return "millibar";  
            case 5:
                return "atm"; 
            default:
                return "hPa";
        } 
    }