DefaultLinearCS lightCS = new DefaultLinearCS("light", csAxis);
Map<String, Object> datumProperties = new HashMap<String, Object>();
datumProperties.put("name", "light");
EngineeringDatum lightDatum = new DefaultEngineeringDatum(datumProperties);
SingleCRS lightCRS = new DefaultEngineeringCRS("wave length", lightDatum, lightCS);
List<Measure<Code, Dimensionless>> keys = CodeMeasure.valueOf(codes);
DefaultAxis<Code, Dimensionless> axis = new DefaultAxis<Code, Dimensionless>(new NameImpl(
"Bands"), new SimpleInternationalString("Expressed in wavelengths"), keys,