 |
Caro-COOPS Bulletin Board
|
| View previous topic :: View next topic |
| Author |
Message |
cpurvis
Joined: 24 Feb 2003 Posts: 256
|
Posted: Mon Jul 12, 2004 9:25 am Post subject: current SEACOOS 'recent' layer summary |
|
|
How to get your own "latest" SEACOOS maps.
Here is a brief how-to that gives instructions for generating your own URL to access "latest" maps without having to go through the interactive interface located at http://nautilus.baruch.sc.edu/rs.
Learn how to create animation templates with a simple URL by looking at this post: http://caro-coops.org/bb/viewtopic.php?t=326&highlight=.
Current SEACOOS in-situ and RS layer relationships
These would fit in as values for the &layers parameter in the following URL construct (this is for an image of the latest QuikSCAT pass); latest = 1.5 hours ago:
| Code: | http://nautilus.baruch.sc.edu/seacoos_misc/get_latest_image.php
use_scale=0
extents=-88,22.5,-70.5,36.8
size=400,328
degree_units=F
velocity_units=MPH
layers=world_outline,us_outline,world_filled,us_filled,quikscat_wind
seacoos_credit_offsets=***
legend_offsets=100,100
scalebar_units=KILOMETERS
scalebar_pixel_width=70
scalebar_position=LR
time_stamp=2004_10_01_12_00_00
=+=+=+=+ ANIMATION PARAMS BELOW =+=+=+=+
time_zone=-04
anim
anim_interval_hours=1
anim_length_hours=6
anim_label_base=100,100
anim_label_num_dashes=12
|
*** mail me directly for directions for seacoos_credit_offsets
Here is an example URL (without the degree_units -- for some reason this BB screws that up) for the MET winds:
http://nautilus.baruch.sc.edu/seacoos_misc/get_latest_image.php?use_scale=1&extents=-88,22.5,-70.5,36.8&size=400,328&velocity_units=MPH&layers=world_outline,us_outline,world_filled,us_filled,met_wind
An example animation is attached to this post, and this produces a 3+1 hour animation (anim_length_hours is inclusive). It shows you 4 hours ago until now of the winds in the South Atlantic Bight (attached below).
The idea is that you would run it once per hour to create static imgaes on your end (like the one attached to this post).
* use_scale means whether or not to include the embedded scalebar (a value of 1 will turn it on)
* degree_units can be one of C or F
* velocity_units can be one of MPS, MPH, or KNOTS
* scalebar_units can be one of METERS, KILOMETERS, or MILES
* pressure_units can be one of MB, INCHES_MERCURY
* elevation_units can be one of METERS, FEET
* water_level_reference can be one of MSL, MLLW, NAVD88
* scalebar_pixel_width must be an integer
* scalebar_position can be one of UL, LR, UR, LL, CR, CL, UC, LC, or CC
* legend_offsets works in percentages. An x,y parameter of 100,100 would mean that the legend would appear in its original bottom-righthand position. A pair of 50,100 would move the legend to the lower-middle of the map.
* time_stamp is optional. Its format is YYYY_MM_DD_HH_MI_SS and is UTC (unless you specify it w/ a time_zone).
* imagemap is optional. Setting this returns only an imagemap.
[time_stamp for static images] If you do not pass a time_stamp, then the most recent obs (< 3.0 hours old) will be returned.
[time_stamp for animations] If you put a time_stamp, the animations will be done relative to whatever time_stamp you pass. If you do not submit one, the animations will be relative to now.
* time_zone is optional and it is specifies the time_zone of both the passed time_stamp as well as time_stamps that will appear on the ticker.
* anim. Simply pass this as a parameter to indicate that you want an animated GIF to be returned. Without the anim parameter, all related animation parameters are ignored.
* anim_interval_hours is optional and indicates by how much time the animations will leap from one frame to another. Default is 1. E.g. anim_interval_hours=1 would mean that frame 1 could be 1:00, frame 2 2:00, etc.
* anim_length_hours is optional and indicates how far ahead or behind (relative to the time_stamp if set or now() if not) you want the animation to go. A negative value for anim_length_hours would indicate that you want the animation to end at time_stamp (or now()) and go back anim_length_hours hours. Postive is converse.
* anim_label_base is optional and indicates the pixel x,y position of the ticker. Note that you can put this off the map if you don't want it embedded.
* anim_label_num_dashes is optional and indicates the # of dashes that are part of the time ticker. Basically, this influences the width of the overall ticker.
Here are the layers. Case sensitive. And it's usually best to use layers that are joined by a + together (like the above example where I used the *_outlines together and the *_filled together).
Approved in-situ and remotely-sensed layers
| Code: | Grid_lines
sst_obs + legend_sst_zoom
normalized_wind_obs
wind_obs
wind_gust
quikscat_wind
obs_site
water_level_obs + legend_water_level
air_pressure
air_temperature
salinity
significant_wave_height
dominant_wave_period
in_situ_sea_surface_currents + legend_particle_trajectory
surface_currents + legend_particle_trajectory
Bathymetry_lines_10m + Bathymetry_lines_100m + Bathymetry_lines_500m + Bathymetry_lines_1000m + Bathymetry_lines_4000m
us_big_cities + world_capitals + country_names
world_outline + us_outline
world_filled + us_filled
world_filled_bottom + us_filled_bottom (bottom-most layer -- useful for RS images that have land coverage)
modis_chl + modis_chl_legend_carib
oi_sst + legend_sst
avhrr_sst + legend_sst
modis_sst + legend_sst
modis_ergb
modis_rgb_chesapeake_bay + modis_rgb_florida_bay + modis_rgb_miss_plume + modis_rgb_suwannee_river + modis_rgb_tampa_bay
modis_rgb
modis_rgb_composite
tamu_level_III + tamu_usrad + tamu_level_III_legend_carib
nhc_storm_tracks_line + nhc_storm_tracks_point + nhc_storm_tracks_now_point + nhc_storm_tracks_now_label
toolbar_box (opaque legend background) |
Model output (not yet approved by SEACOOS proper) layers
| Code: | met_wind
isabel_track
particle_trajectories_usf + particle_trajectories_old_usf
particle_trajectories_unc + particle_trajectories_old_unc
particle_trajectories_um + particle_trajectories_old_um
legend_current_label + legend_current_arrow + current
water_level + legend_water_level
met_air_pressure_contour |
| Description: |
|
| Filesize: |
125.81 KB |
| Viewed: |
5720 Time(s) |

|
| Description: |
|
| Filesize: |
65.08 KB |
| Viewed: |
5794 Time(s) |

|
Last edited by cpurvis on Fri Jul 23, 2004 11:15 am; edited 8 times in total |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by php BB © 2001, 2002 php BB Group
|