Home

Migrating from MAGICS 6 to Magics++

image

Contents

1. File View Tools Folders aM in Away tstd_dev grb Temperature Cross Section Reading Meteogram Folder o aS statistics home graphics cgi metview Tests Macros statistics Mars Retrieval Asrago Tal a verage Data i Ale Edit View Insert Program Settings UK Map View Shaded Coastlines fe OOves A points CHA Notes retrieve some data Rain Contouring a fl retrieve date 1 levels 1000 grid 1 5 1 5 A f2 retrieve date 2 levels 1000 grid 1 5 1 5 ind CA Wind Barbs Temperature Contouring perform some calculations for comparison cv_f1f2 cv_f1f1 cv_f2f2 var_fl var_f2 covar_a f1 f2 covar_a f1 f1 covar_a f2 f2 vara f1 vara f2 E corr_manual cv_f1f2 sqrt cv_f1f1 sqrt cv_f2f2 A corr_manual2 cv_f1f2 sqrt var_fl sqrt var_f2 Section Data Geopoints to GRIB corr_builtin corr_a f1 f2 Choosing RETRIEVE MARS covar of fl and f2 707195 562425 corr_manual 0 876684930973 corr_manual2 0 876684930973 corr_builtin 0 876684930973 Program finished OK 4 078 s Anished at 14 05 55 EAT New possibilities for researchers 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 ecCharts WREP ma ECMWF Interactive Tool Mozilla Firefox E a g File Edit View History Bookmarks Tools Help lt a we e httpvwrep ecmwf intinteractivel Y B Google g GEMS P
2. ponsi Teds Bee pe tor Ye Son prep coment ek jeterac nes A f woa a SVE y ya open 2010 Abstcts Proce projections Views CECMWF mee epa wind speed Monds act oo anar sea level pre x a Sm temperature vw e dared oroe Chart up Done 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 1 30 eetaroth 0 75 plot 1 3 active Tool y seeghan ai S pmr Miter it Date av allability Help 18 UTC Step 42 File Controls Animation Zoom View Help Jae A OOOO AIRA e Migration of MAGICS 6 to Magics Frames Layers Contents WMS RADNL_OPER_R E 25PCPRR_L3_COLOR WMS Intr red 10 8 nm 7 7 ylvie Lamy Th paut x te Coastines ps ai e EA Copy 1 ot a x A rr ot KNMI radar E Service WMS a name Service RADNL_OPER_R___25PCPRR_L3_WI tide URL itp Woeoservices knmi ncgi bIMPADNL_OPER_P__25PCPPP_L3 Layer PADNL_OPER_P___25PCPRR_L3_C name Layer tite PADNL_OPER_P_ 25PCPRP_L3_CC Dimensions Name Value TIME Legend El mu 000 0 wi dl 12 Transparency gt afo Ee se Stephan Siemen Meteorological Visualisation Section ECMWF sGoogle Google Outline Why rewrite Magics What are the benefits of migrating Why now What should do if use MAGICS indirectly Will my Magics Fortran program need to be changed What possible issues might encounter How can make best use of the new fe
3. Publisher Magics 2 11 1 64 bit ge Identifier L 3 Source Relation Language en GB Keywords Coverage Plot of meteorological data Meteorological plot generated by Description Magics 2 11 1 64 bit FT Ij Blend mode Normal Contribut paa ls ontributors IA 1 100 0 gt X 4 A 100 El da zwo v 0 out of 886 nodes selected Click Shifteclick or drag around nodes to select yo 20 16 21 119 E Example Editing SVGs in Inkscape 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 Recommendations for new desktop cluster 1 o Avoid using convert Very expensive to run often more expensive than Magics program itself Magics might directly support the format you re after PNG EPS Magics can generate multiple output formats in ONE run This saves resources since Data reading and contouring is only performed ONCE Be aware that convert behaves differently on the new platforms Feel free to contact MetVis if you see any problems This includes if you try to create an animation 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Recommendations for new desktop cluster 2 o Try okular instead of gv acroread and xpdf BUT MAGICS 6 user manual PDF s only open in acroread e Say good bye to nedit gt kwrite UNICODE o Please consult the web pages for New Desktop https desk
4. Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 The migration process Set up the environment use magics Check for compatibility issues magicsCompatibilityChecker mycode f Recompile your Magics program pgf90 o lt name gt lt name gt f MAGPLUSLIB SHARED or paf90 o lt name gt lt name gt f S MAGPLUSLIB STATIC Run program Check output 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Magics versioning 1 o New scheme for version numbers Even minor numbers 2 10 x 2 12 x 2 14 x indicate stable operational versions e These versions will only contain bug fixes between releases Odd minor numbers 2 9 x 2 11 x 2 13 x indicate changing NON operational versions e These version might contain experimental changes Odd numbered version are likely to be removed from the system over time while even numbered version should stay available 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Magics versioning 2 o Emos version is 2 14 x on operational demand Stable version which made be slightly older Version to use for operational jobs eo Current user version is 2 12 9 2 to 3 times a year Stable version which has had the most testing First version to test o New version is 2 13 9 monthly This is the test version for next release e Daily version is 2 13 10 daily hourl
5. atures of Magics 3 October 2011 Migrating from MAGICS 6 to Magics 2 ECM WE TF ECMWF 2011 Why rewrite Magics o MAGICS memory management was hardcoded for 32 bit o After 25 years of development the code was becoming hard to maintain Many undocumented features hard to migrate All original developers left retired Many features were not considered in the original design Adding new parameters was becoming harder o Demands changed Interactive plot generation within 1 second for web ecCharts More programming interfaces C Python More input formats GRIB 2 ODB More output formats PNG KML o Remove dependency to CONICON and get full control of contouring code Make Magics Open Source o We want to be more flexible for new requirements 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 What are the benefits of migrating o Long term support and support for new features o MAGICS 6 will not be available for new 64bit machines LXAB SOS VERSION sles11 and new desktops SOS VERSION opensuse113 o Your programs are more likely to fit into new frameworks such as WREP ecCharts new Verify and new OBSTAT which use Magics eo A chance to discuss your programs with MetVis and re evaluate your code o Faster programs for higher resolution data o More features Programming interfaces AS y a Data Input GRIB 18 2 Outpu
6. cast and EPS Distribution Monday 12 Distribution of 10m Wind Direction 10m Wind Speed m s at Mean wave direction oceanographic convention AAA Mean wave period s wo i 3 an NR 11174 a oa a ee I I I I Thu 15 Fri 16 Sat17 May 2008 Mon12 Tuel3 Wed14 max EPS Control 110 kmjHgh Resolution Detenminisia 40 km EPS Meteogram Reading 48m 51 58 N 1 W Extended Range Forecast based on EPS Distribution Monday 12 May 20 Daily mean of Total Cloud Cover okta 8 Total Precipitation mm 24h Daily distribution of 10m Wind Direction Daily mean of 10m Wind Speed m s UHL 2m min max temperature C reduced to station height 90m T255 bateti AUNAREN Mon 12 Tue13 Wed14 Thm 15 Fri Sati Suni8 Man 19 Tue 20 Wed21 Thu22 Fi May 2008 EPS Meteogram Reading 48m 51 46 N 1 33 W Deterministic Forecast and EPS Distribution Monday 12 May 2008 00 UTC Total Cloud Cover okta 10m Wind Speed ms Moni2 Tuel3 Wedi4 Thui5 Fri16 Sati7 Suni8 Mon19 Tue 20 Wed 21 con May 2008 L p EPS Contad 50 km High Resolution Deterministic 25 km om e CCECMWF ao TRA medan 25 10 min cone 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 So ECMWF Metview 4 ECMWF s next generation meteorological workstation workshops EGOWS 2010 example desktop
7. d to specify vertical and horizontal axes Magics can get confused o To be on the safe side the user should always set first the type of axis call psetc axis orientation horizontal call psetc axis type regular call paxis call psetc axis orientation vertical call psetc axis type date call paxis 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 New convention for formatting text o Another useful change to have in mind is the use of HTML convention to define the colour and size of the font used in text call psetc text_user_line_1 lt font colour red size 0 2 gt my small red text lt font gt Please note The characters lt and gt become amp t and amp gt respectively oWe added a grib api tag to allow the extraction of grib api keys to build text call psetc text_user_line_1 lt grib_info key name gt at lt grib_info key level gt hPa eo The limitation of 10 lines for title can now be avoided by handing arrays of strings as user text call pse1c text_user_ lines titles 5 gt We recommend users to use the HTML convention We did not put back all the previous MAGICS 6 conventions 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 Contouring o No CONICON anymore Some parameters are ignored now o No split contouring Setting CONTOUR LINE PLOTTING
8. has no effect anymore This is also true for all parameters starting CONTOUR SPLIT CONTOUR ABOVE and CONTOUR BELOW Please split your contours in separate PCONT calls 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 How can make best use of Magics o Separate Magics calls from rest of code Easier to change and to debug Clear separation between data processing and visualisation o Always define geographical area and projection first o Keep Parameters and their action routine together o Legends if you turn it on at the beginning of your program recommended each action routine will put information in the legend box If you do not want a legend for a certain action legend should be turned off before the call to this action o Feel free to involve the Magics team to have a look at your code Provide example code to MetVis to be run in their regression test suite 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 Make use of new formats w binary_inside_full 1 svg Inkscape File Edit View Layer Object Path Text Filters Extensions Help DBas i2nb 6 e CHO QQQ DEBE SEIPTSEE amp A k x TEEN ITA A eel y a Document Metadata Metadata Licence Dublin Core Entities Title Magics pot Date Wed Aug 4 16 29 29 2010 Creator Stephan on meshon Rights Po VAP ePISOCHNEOLPOHDOhA
9. iew 4 e Only the new desktop cluster you should only find versions using Magics o Feel free to contact us or the maintainers directly 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Will my Magics Fortran program need to be changed o Yes quite likely Simple Fortran programs often work BUT Text sizes might be different Layout is slightly different Legends need sometimes adjustment gt Users should check carefully the resulting plot if it is as expected e Users should use the compatibility checker to indicate if any parameters are used we do not support anymore use magics magicsCompatibilityChecker myprogram f 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Changes for compilation and run time o To ensure that MAGICS 6 and Magics can be used in parallel we have change the names of environment variables e g instead of SMAG_HOME we use SMAGPLUS_HOME o Forthe compilation you need to change use magics pgf90 myprog f o myprog SMAGLIB SEMOSLIB To use magics pgf90 myprog f o myprog SMAGPLUSLIB_SHARED or_STATIC gt Please note If you want use a different version of EmosLib than what Magics is linked with you need to add the link command for your own Emoslib BEFORE SMAGPLUSLIB_ SHARED gt Double precision versions can be linked by adding DOUBLE to the Magics environment variables e g SMAGPLUSLIB_SHARED_DOUBLE 3 October 2011
10. interpolate SH to LL or GG Coastlines are black by default Not yellow anymore o Sharper lines and look and feel Look might be different No automatic text size adjustment more consistent Legend text does not change any more 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Technical changes 2 e Shared versus Static linking Shared libraries smaller executables update to newer Magics version automatically without recompilation enables us to use debug versions of libraries You need to be aware that the Magics library is picked up at run time Static libraries Always same version used even if library disappears You need a compatible MAGPLUS_HOME o The default filename for PostScript changed from ps to ps ps Request from users Caused many support queries Es Some SMS scripts have to be updated File managers detect through file extension 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Technical changes 3 o No direct decoding of GRIB fields Use Grib_APl instead l r 1 l CALL PGRIB o There is NO Fortran UNIT anymore for INPUT_TYPE There is only type FILE o No PIE charts Excel is an alternative Magics has a wind rose 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Axes o Because the same set of parameter names and the same action routines are use
11. roject at ECMWF GMES Metiew Documentation ECMWF gt Interactive Tool Q Products Projections Views Save Data availability Help a vel pressure and 200 hPa wind speed Tuesday 12 Oct 12 UTC VT Saturday 16 Oct 12 UTC Step 96 mi a a S A E a n aa ae ie l na at E Y 2 t J F i 5 r E A l i O a i y 3 h E b b F gt gt LAN AA MA ASIS A ai AN LANA NAAA AA o VA AVA A a oa Me Pe T5 z LJ a a amp NANA Be FS R RANA E A E ASAS ee SS AAAA NAAAAAS ar as has Soe 0 a es aia ee a a Ma UA SN a A A E Tiaa N ES PN A A E s i A AA A s k A r in ah ane ion A A AR AS DUI ANA be bhi AS a ae ak e PA aa a Fi 7 7 gt d a Lt 89 O thereat IRA AID a Pa A r Par A NR An Fr a PA AS A A A ley ee Bos E DS VAT r 0 ariaa UE a a aa a A D a AAA Prem ge gr a a a a oe on a FE A s Wed 13 Thu 14 Fri 15 Sagi Sun 17 Men 18 Tue 15 Wed 20 Thu 21 BT Tue 12 Oct 127 om VT k a it A A CI A A a a ii i lit Panu A A I i i i i i i i ECMWF Chart updated Network 5 6s Plot 2 25 Done aie 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 What happens if you use Magics indirectly e Thanks to the hard work of the package maintainers many packages have been migrated to Magics Obstat ODBviewer Verify Metv
12. t gt PostScript amp EPS ODB P Cairo PDF PNG SVG varices gt Magics A _ MapGen gt Qt gt Matview Geopolnts Raster PNG 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 GEMS RAQ Verlficatlon t 003 VT Monday 14 December 2009 03UTC Taylor Dlagram Surface Ozone 06 0 7 0 8 0 9 1 1 1 12 ev ratio oO f Y HE gapa 00 gpm J y O E i i a a moe A E o A ON 4 MOZ 4 ENS ae gt 06 g a P 3 V sas SO gle Why now o We started 5 years ago n operations o Metgrams e Cluster tubes plots For new developments e ecCharts WREP New generations of software eo Metview 4 e Obstat ODBviewer o New Verify AED 1s ee f a y e mg m F m r w is ma AAA a ee e A x a j y F TEA pp an a z oa i 1 E a ia mi hay cr eee a ee A a a cg a fe Oe AA E pa E i l pinl j ii Tr FE pr A e etc Ea T m Ej 5 l E es mE H ee E i E a ES ES h ma j ZZ y mA ae J na i Za A oy PTA i oy a P P o Urgency now comes from New 64 bit systems GRIB2 Move away from GRIBEX integral part of MAGICS 6 You do NOT get support for MAGICS 6 anymore 3 October 2011 Migrating from MAGICS 6 to Magics T ECMWF T ECMWF 2011 Metgrams since February 2006 Wave Epsgram 57 3 N2 25 E Deteministic Fore
13. top113 ecmwf int LXAB http intra ecmwf int publications cms get LinuxCluster 16880 o Please feel free to contact MetVis if you need help to use your graphical products on the new platforms 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 s pe a 2009 42UT 5 ednesday 6h vT ehiVT tion aa pe 20 d F Foreca july 2009 OOUTE ar Accumut Monday bes sea level pressure aww eg Surface aw ZF gt fs S ASS on f 6A oN Monday 27 July 2009 OOUTC ECMWF t 0 VT Monday 27 July 2009 00 UTC Model simulated METEOSAT 9 SEVIRI Channel 9 IR10 8 Brightness Temperature and 850 hPa wet bulb pot i meee email us y Magics visit our web pages O http www ecmwf int publications manuals magics magics ecmw f int check out the tutorial on this page 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011
14. y Rapid updates which might contain regressions This version will have latest changes Only use if you are advised to do so 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Backwards compatible Fortran interface It was decided that the API of Magics should be backwards compatible gt NOT the parameters themselves or their exact behaviour Tuesday 28 June 2011 00UTC OECMWF Analysis t 000 VT Tuesday 28 June 2011 OOUTC Tuesday 3 May 2011 OOUTC QECMWF Analysis t 000 VT Tuesday 3 May 2011 OOUTC gar panion ar jan _ am een ie Se O O O O e a dl E ae a gt se Significant wave height of total swell and mean direction 200 E 2300 E ape E e oe i A Re e a ia D A a ia BPE a A a eS LGA N AN i AT FS i C2 es ES e m n 8858838 TT OO same style definition Faih data gt Ease the migration gt Keep familiar naming conventions Exception Specification Groups Not much used and difficult to maintain MagMIL offers alternative Compare with GRIBEX to Grib_ API changes 3 October 2011 Migrating from MAGICS 6 to Magics ECMWF 2011 Technical changes 1 o Magics does not support fields in spherical harmonics SH Seldom used data is already interpolated at time of retrieval New interpolation package SCIN will offer command line tool MARS read command can perform interpolation Metview s MARS client and GribFilter can

Download Pdf Manuals

image

Related Search

Related Contents

G-EYE 1080_FR  Sony AKA-SM1 Marketing Specifications  Mode d`emploi Aimant anti-calcaire  Gebrauchsanleitung ......2  DESCRIPTION  

Copyright © All rights reserved.
Failed to retrieve file