Map making script help

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
senorpepr
Junior Member
Posts: 6
Joined: Wed Jun 25, 2008 3:23 am
Location: Bellevue, NE

Map making script help

Post by senorpepr »

Hello everyone!

I'm giving this script-making thing a spin and have ran into a problem. I'd like to have the script generate a map based on coordinates. The end result is to have "floating" weather maps for tropical cyclones.

I see a map making command in the DA Manual: MAKE,lat,long,zoom,width,height

I've tried both of the following lines...
MAKE,23.1,114.3,3964/1500,1000,800
MAKE,23.1,114.3,2.6426,1000,800

Either line yields the following error: Floating point division by zero

Would somebody be so kind to square me away?


Thanks,
Mike
David Tao
Junior Member
Posts: 1
Joined: Tue Jul 22, 2008 6:55 am

Map making script help

Post by David Tao »

Mapmaking commands

MAKE,projection,lat,long,zoom,width,height,offsetx,offsety,aspectx,aspecty

Makes a map using the given coordinates. Projection should be .1. except as shown in the table below. Lat is negative in the southern hemisphere. Long is negative in the western hemisphere. Zoom is the width of the map in statute miles. Width and height are the map sizes in pixels. Offsetx and Offsety refer to the displacement of the map contents from center (should normally be 0), and aspect ratio refer to the distortion in the X or Y direction (should normally be 1). Example command:

MAKE,1,47.583,-95.767,1000,800,600,0,0,1,1

:)
Post Reply