The main update Meteoinfolab to version 0.2, there are some practical features, here to do some simple introduction.
1,meteoinfo Website: http://www.meteothinker.com/
2, Baidu Cloud Disk: http://yun.baidu.com/share/link?shareid=669776748&uk=51062435
Meteoinfolab is a script-based and command-line interactive software, using Jython language to encapsulate the Meteoinfo library, to provide scientific computing and mapping functions, function Reference matlab, Numpy, matplotlib implementation. Only a limited amount of functionality has been achieved at this time.
Double-click MeteoInfoLab.exe Start (Linux under milab.sh boot), the interface contains 5 dockable forms: Editor is a script editing form, console is a command line interactive form, figures is a graphical display form, File Explorer is a file browse form, Variable exploere is a variable browse form (this form is still in the initial stage). The menu bar and the toolbar are mainly script editing functions, the current folder on the right side of the toolbar is currently working directory, subdirectories and files in the current working directory are displayed in the File Explorer form and can be used via the button on the right of the Floder or file Explorer, click Back to the parent path and double-click subdirectories to change the current working directory.
The script has a. py suffix (Jython program), and double-click the script file name to open the script in the editor form.
Click the Run Script button on the toolbar to run the Scripting program, and the output or error information of the script will be displayed in the console form, and the graphical results appear in the figures form.
Here is a simple example of the main data processing and plotting functions:
1. Open file: addfile (filename) function, if the file is in the current working directory, you can write only the file name (omit path). Take the example data Model.ctl in grads textbook as an example.
2, query the file information: Enter the file variable name on the command line and enter to display the file information (dimensions, variables, etc.).
3. Get the variable: The file name is followed by the brackets, and the variable name string is entered in brackets to get the variable.
4. Get multidimensional array: The variable name is appended with brackets, the footnote information is written in brackets, the dimensions are separated by commas, and the footnote format is [start: Terminate: Step]. Similar to the usage of numpy and NCL.
5. Draw the map: Create a worldmap, read the shape file, show the map layer.
6, using the above steps to obtain a two-dimensional array to draw contour fills the color map.
7. Add title, axis callout, color label legend, etc.
8. Save the graphic file: with Savefig (filename, width, height)
such as:>>> savefig (' d:/temp/test/press.png ', 400, 300)
Release Meteoinfo Java 1.2.2