geopoints ( geopoints op
geopoints )
...
flag = intbits (n, 3, 2) # flag is now 1
The number of bits available depends on the machine architecture and Metview's compilation options, but at the time of writing it should be 32. This function does not treat missing values differently from any other values (for efficiency with large datasets).
...
The variable freeze
will contain a subset of temperature where the value is below 273.15 . The following example shows how to plot a geopoints set with different colours :
...
# Filter from "temperature" points at, above, below 273.15
cold = filter( temperature,temperature<273.15 )
zero = filter( temperature,temperature=273.15 )
warm = filter( temperature,temperature>273.15
...