Parameter “op”. Values and examples of usage.

Parameter “op”. Values and examples of usage.

Value of parameter “op” indicates a type of operation used for image processing. By default value op=rgb

Parameter “op” can have the following values:    
Operations:

op = rgb (RGB)
op = ndi (Normalized Difference Index)
op = evi (Enhanced Vegetation Index)

With these values any combination of available bands is possible.

Attention! Each operation accepts a definite number of bands. If an irrelevant number of bands is denoted, then an error message will be shown.    

Presets with installed order and set of bands:

op = truecolor (a composite image that seems to look natural)
op = falsecolor (is a view using NIR band)
op = ndvi (Normalized Difference Vegetation Index)

Attention! If incompatible values of some parameters are specified (for example, in
case of putting “select”), then an error message will be shown.    

We are glad to introduce a new version of our satellite image processing platform VANE

We are glad to introduce a new version of our satellite image processing platform VANE.

So, what’s new:

Now a request with an error or invalid values will return a response with the recommendations on how to fix it. Also the validation of values became stricter. For example, the “select” parameter takes only a definite amount of bands. Parameters’ specifications themselves have gone through some changes

You can find  the detailed description here   http://owm.io/vaneLanguage.

It’s easier to work with colors now by using default color schemes and palettes. A corresponding default color palette is automatically generated depending on an operation (the “op” parameter) and a current data source (the “from” parameter). And of course you can make your own color scheme.

How to choose images for a specific date or a particular period. Parameter of query “where”

Choose images on the specific date, for the particular period, pick up the best images for the last month or week, and many other options.

Color correction and customization of color scheme. Parameter of query “color”

You can apply a variety of color processing to your images

VANE images from any Earth observation satellites. Parameter of query “from”

VANE processes images from any Earth observation satellites. The publicly available coverage (see Global Satellite Map) consists of open data from MODIS  (Terra, Aqua), Landsat- 8 and Sentinel-2 sources, the commercial data includes Planet's imagery (Rapideye, Planetscope) and more data to come.

Details:
from=modis (Aqua+Terra)
from=aqua (Aqua)
from=terra (Terra)
from=l8 (Landsat- 8)
from=s2 (Sentinel-2)
from=re (Rapideye)

VANE language use cases

Here is a sample query to get last Sentinel-2 image for some location, adjusting gamma and contrast to have rendering of Red, Green and Blue satellite imagery spectral bands to the RGB composite image that seems in natural colors - so called “True Color”.

http://owm.io/sql-viewer?select=b4,b3,b2&from=s2&where=&op=&order=last&color=log(1.5),brightness(2200:60000)&lat=51.01&lon=2.29&zoom=12


Next we can switch it to the “False Color” with few other params - adding infrared band and increasing the contrast to distinguish urban areas and farm fields:

http://owm.io/sql-viewer?select=b8,b3,b2&from=s2&where=&op=&order=last&color=log(1.5),brightness(4000:20000)&lat=51.01&lon=2.29&zoom=12

Note that you can get instant visual result with the help of VANE SQL-viewer - this is a very basic and useful tool to build and try your queries.
See Vane Language documentation for more information and examples.

New styles for weather maps API

We added new version of rendering styles for Weathermap API.

To get weather map layers in new predefined styles you need to add _new to the appropriate layer name like the following:

http://tile.openweathermap.org/map/{layer}_new/{z}/{x}/{y}.png?appid={api_key}
 
precipitation
 
precipitation_new
 
wind
 
wind_new

>> See more new styles

Would you like to have self-customized styles to your weather map - try our Map Editor tool for applying you own styles to weather layers and combining them with base maps.

How to use MODIS as a basemap for your weather maps application

To add MODIS Basemap layer and combine it with current weather layers, you need to specify the following endpoint URLs to both of the tileLayer as it for Leaflet-js.

http://{s}.sat.owm.io/sql/{z}/{x}/{y}?select=b1,b4,b3&from=modis&order=last&color=modis&APPID={APIKEY}

To add a layer with precipitation - specify the query according to weathermap API documentation.

http://{s}.tile.openweathermap.org/map/precipitation/{z}/{x}/{y}.png?APPID={APIKEY}

See the interactive example at the Basemap description page.

How to get most recent MODIS without gaps

How to get most recent MODIS without gaps

"MODIS" is a camera aboard Terra and Aqua satellites. The MODIS mosaic and the derivative products like "cloud mask" are widely used in various of applications from TV maps to desktop wallpapers.
How to use MODIS for some kind of this application, getting it from VANE platform?

VANE provides MODIS with less than one hour delay after satellite path. The one problem - you may wish to get the seamless mosaic of the entire world and the satellite paths look somehow like this:

There is no whole world captured for the current date and there are stripes where the satellite didn't scan.
The use of VANE language allows you to build the specific query to get the most recent MODIS imagery along with past day MODIS for the rest of the world. To get both of satellites and to combine for last two days you need to specify from=modis and order=last.

In order to get mosaic from only one of satellites, set up from=terra or from=aqua

You get it!

That's how we use MODIS for satellite basemap to show weather layers on the top of it - http://owm.io/weathermap

VANE color processing with gamma correction for MODIS imagery

In VANE platform there are default color correction algorithms for particular satellite imagery sets. We are continuously working on improving these basic algorithms and now there is one more for MODIS daily imagery with atmospheric and gamma correction. Now the MODIS mosaic looks more smooth and seamless, especially at the edges of strips. 

So we are going to provide the best Base Map for weather overlays and, in addition, the closest to real time one.  The delay of imagery publication is going to be less than an hour after the satellite path through our efforts to reduce processing time costs.

While the new algorithm is going through the beta testing - you need to set up the additional parameter to use it:

color=modis

And the link to get the whole daily mosaic from the VANE platform will look like this

http://{s}.sat.owm.io/sql/{z}/{x}/{y}?appid={APIKEY}&select=b1,b4,b3&from=modis&order=last&color=modis

Viewer

If you'd like to preview MODIS and switch between single layers that constitute the mosaic  - go to http://owm.io/modis