wat_cap_abs | { showmenu? { leftmenuhead null 1 index leftmenu0 pop leftmenutrailer } if } | ||||
---|---|---|---|---|---|
wat_cap_abs | { WWWinfo .FORMinfo dup null eq { pop WWWinfo /FORMinfo null 5 object put WWWinfo .FORMinfo } if ! } | ||||
wat_cap_abs | { (&) search { (=) search { cvn nip exch nullify pdefappend } { cvn true def } ifelse pop parseurlvars } { dup length 0 gt { (=) search { cvn nip exch nullify pdefappend } { cvn true def } ifelse } { pop } ifelse } ifelse } | ||||
wat_cap_abs | { 2 copy exch cvx ( | ||||
) print () print pop 2 index /long_name known { pop long_name cvntos } { dup dup length dup 4 gt { 4 sub 4 getinterval dup (.cdf) eq exch (.cuf) eq or } { pop pop false } ifelse { 0 1 index length 4 sub getinterval cvn } if } ifelse htmlformulaprint htmlpathpush () print RestrictMetaData? { ( (restricted)) print } if ( | ) print dup /description getknown { dup type /arraytype eq { ( ) print { print } forall } { ( ) print print (.) print } ifelse } { dup nice== } ifelse pop htmlpathpop ( | ||||
wat_cap_abs | { JPG 4 1 roll colorscale pop DoTasks } | ||||
wat_cap_abs | { leftmenulevel 0 2 copy get 1 add put currentobject /leftmenuinfotop? getknown not { false } if { leftmenutoplevel 0 leftmenulevel 0 get put } if leftmenusub? { dataset null ne { dataset leftmenu0 } if } if true /printheader? HTMLwords ! mark 1 index DATASETbot ==noprintdataset { pop } forsome counttomark namearray astore nip namesort { 2 copy get leftmenucase caseexec pop pop } forall printheader? not { leftmenusubtrail } if pop leftmenulevel 0 2 copy get 1 sub put } | ||||
wat_cap_abs | { currentreadfilename cvntos dup length 5 gt { dup length 5 sub 5 getinterval (.html) eq } { pop false } ifelse } | ||||
wat_cap_abs | { 1066077372 set_code_last_modified optionalREORDER toreal streamrescaleonlyifnecessary chunksize npts 4 mul mimeheaderwithlength datar4 DoTasks } | ||||
wat_cap_abs | CaseList /streamtype { chunksize nchunk mul 1 gt datatype /stringtype eq bufferwordsize 1 gt and not and { datasetcount 0 gt { [ datasetstack 0 datasetcount getinterval { .name cvntos ( .) } forall name cvntos ] concat } { name cvntos } ifelse dup variable eq { ( ) print } if } def /datasettype { dup pushdataset dup makesortednamelist { 2 copy get variablemenucase 1 index totype get exec dropitem } forall popdataset } def /pendingdatasettype { dup xcheck { nip exec name exch variablemenucase 1 index totype get exec } if } def /arraytype { dup xcheck { nip exec name exch variablemenucase 1 index totype get exec } if } def | ||||
wat_cap_abs | { currentobject /zoom known { zoom zoomvalues 1 index cvn known { zoomvalues exch cvn get } { interp } ifelse } { 1 } ifelse } | ||||
wat_cap_abs | { (plaincontourpage) htmlprint } | ||||
wat_cap_abs | { GRIDParent 3 1 roll /map FORMgetknown { exch [ 3 1 roll { 2 copy getknown { dup /plotfirst getknown { (map.) 3 index cvntos (.plotfirst) 3array astore concat counttomark 1 add index ! } if dup /plotlast getknown { (map.) 3 index cvntos (.plotlast) 3array astore concat counttomark 1 add index ! } if dup /plotvalue getknown { (map.) 3 index cvntos (.plotvalue) 3array astore concat counttomark 1 add index ! } if dup /units getknown { true } { false 2 index /X eq { pop /degree_east true } if 2 index /Y eq { pop /degree_north true } if } ifelse { (map.) 3 index cvntos (.units) 3array astore concat counttomark 1 add index ! } if pop pop } { pop } ifelse } forall pop pop } { pop } ifelse nip } | ||||
wat_cap_abs | { PS2 6 1 roll vectoramplitude pop DoTasks } | ||||
wat_cap_abs | { RESTRICTIONSprint? pop } | ||||
wat_cap_abs | { skipcache? { exec } { flush pushstdout URLrootprint (/) print 2 index dataseturl (/skipcache/) print 1 index cvpops ==ns (/dods) print flush popgetstdout DATASET 5 object exch { continuedataset: :datasetnostore } readdods0 5 object /dataset 4 index def /myprocds 2 index def /myproc { } cvlit def nip } ifelse } | ||||
wat_cap_abs | { boundingbox tojpg contour.ps } | ||||
wat_cap_abs | { PNM 4 1 roll plaincolor pop DoTasks } | ||||
wat_cap_abs | { 0 sortednames { currentobject exch get totype /gridtype eq { 1 add } if } forall 2 ge { ( ) print ( ) print } if false sortednames { currentobject exch get dup totype /gridtype eq { .gridtype 2 ne or } { pop } ifelse } forall { () print } if } | ||||
wat_cap_abs | { PNM 6 1 roll vectoramplitude pop DoTasks } | ||||
wat_cap_abs | { dup type /objecttype eq { dup /myproc known { dup /myprocds getknown { type /arraytype eq { true } { dup dataset exch .myprocds .dataset eq not } ifelse } { false } ifelse } { false } ifelse } { false } ifelse } | ||||
wat_cap_abs | { true exch 3 index dup 0 get exch 1 1 index length 1 sub getinterval { 2 index get 1 index 3 index get eq not { 3 -1 roll pop false 3 1 roll } if } forall pop exch { 2 copy gt { 1 add countcommonbeginning0 } { 1 add } ifelse } if } | ||||
wat_cap_abs | { pop pop } | ||||
wat_cap_abs | { GIF 4 1 roll plaincontour pop DoTasks } | ||||
wat_cap_abs | { last_modified null ne { (Last-Modified: ) print last_modified code_last_modified imax current_last_modified null ne { current_last_modified imax } if cvi timetostring print ( ) print } if expires dup null eq { pop } { (Expires: ) print cvi timetostring print ( ) print } ifelse WWWinfo /Vary_List known { (Vary:) print mark Vary_List { pop } forall counttomark namearray astore nip namesort { space print cvntos print } forall ( ) print } if WWWinfo /Content-Language known { (Content-Language: ) print WWWinfo .Content-Language print ( ) print } if } | ||||
wat_cap_abs | { PICT 6 1 roll vectoramplitudecolor pop DoTasks } | ||||
wat_cap_abs | { nptgrids { () print name ==ns ([) print 2 index 1 index 1 REORDER .nchunk ==ns (] ) print pop } forall pop } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo doauthorize sendmimeheader { doifmodified? { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse } if mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified /filename FORMgetknownnotnull { (Content-Disposition: attachment; filename=") print print (" ) print } if flush } if pop } | ||||
wat_cap_abs | { WWWinfo exch /content-length exch def sendmimeheader { content-length null ne { (Content-Length: ) print content-length ==ns ( ) print } if } if pop } | ||||
wat_cap_abs | { 3 copy pop eq { ( ) print } | ||||
wat_cap_abs | { (vectorcolortogapage) htmlprint } | ||||
wat_cap_abs | 0 5 object /formaction { (HTTP/1.0 301 Moved content-type: text/html ) print (Location: ) print command toproc dup procasurl ( ) print (OK ) print } def | ||||
wat_cap_abs | { pop MD5Users 1 index getknown { exch ValidUsers exch cvn known { 0 } { 2 } ifelse } { pop 0 1 } ifelse } | ||||
wat_cap_abs | { boundingbox topict vector.ps } | ||||
wat_cap_abs | { GIF 6 1 roll vectorcontour pop DoTasks } | ||||
wat_cap_abs | { JPG exch newaxis pop } | ||||
wat_cap_abs | { useDLAuthAuthentication? { DLAuthAuthenticationOK? } { false } ifelse { true } { WWWinfo /Authorization known { WWWinfo .Authorization useDigestAuthentication? { DigestAuthenticationOK? } { BasicAuthenticationOK? } ifelse } { false } ifelse } ifelse { false /ObeyRestrictions? Ingrid: ! } { (HTTP/1.0 401 Unauthorized
) print (Cache-Control: public
) print (Access-Control-Allow-Origin: *
) print (Vary: Authorization
) print useDigestAuthentication? { DigestAuthenticationChallenge } { BasicAuthenticationChallenge } ifelse (Content-Type: text/html
) print (401 Unauthorized) print WWWinfo /Authorization known { (Authorization failed for this dataset. ) print WWWinfo /digesterrorcode getknownnotnull { (error code ) print dup == (: ) print DigestErrorCodes exch getknown { print } if } if } { (User/password is required. ) print } ifelse ( ) print flush stop } ifelse } | ||||
wat_cap_abs | { boundingbox topict scatter.ps } | ||||
wat_cap_abs | { allparentlinkcount 0 get ( cnt=) print dup == allparentbgcolors length lt { ( bgcolor=") print allparentbgcolors allparentlinkcount 0 get get print (") print } if } | ||||
wat_cap_abs | { /map getimageinput { click? zoom (Click for Info) eq and { .clickpoint leftmenuinfo: exch { dup null eq { (Please click on the map) print stop } { value dup subgrid first cvsunits (map.) 3 -1 roll .name cvntos (.plotvalue) 3array astore concat exch def } ifelse } forall :leftmenuinfo true } { pop false } ifelse } { false } ifelse } | ||||
wat_cap_abs | { /content-length WWWinfo ! wwwcopylastmod WWWinfo doauthorizedata RestrictData? { 2 (data restricted) DODSerror } if sendmimeheader { doifmodified? { (HTTP/1.0 200 OK ) print } if (XDODS-Server: Ingrid/2.15 ) print mimeheaderinfo DODScontentdescription (Content-Type: ) print mimetype print ( ) print dolastmodified content-length null ne { (Content-Length: ) print content-length ==ns ( ) print } if ( ) print flush false /sendmimeheader WWWinfo ! method /HEAD eq { stop } if } if pop } | ||||
wat_cap_abs | { PS2 4 1 roll plaincontour pop DoTasks } | ||||
wat_cap_abs | { JPG 6 1 roll vectorcolor pop DoTasks } | ||||
wat_cap_abs | { PS2 4 1 roll autocontour pop DoTasks } | ||||
wat_cap_abs | { dup /lat known 1 index /lon known and { lat totype /streamtype eq lon totype /streamtype eq and { lat .npts dup 1 gt exch 100000 lt and lon /degree_east unitconvert message? { pop pop false } { pop true } ifelse lat /degree_north unitconvert message? { pop pop false } { pop true } ifelse and and { lat .nptgrids 0 get .gridid lon .nptgrids 0 get .gridid eq } { false } ifelse } { false } ifelse } { false } ifelse } | ||||
wat_cap_abs | { /Set-Language FORMgetknown { /Set-Language exch def } if pop } | ||||
wat_cap_abs | { checkpassword { ValidUsers exch cvn known } { false } ifelse } | ||||
wat_cap_abs | 0 5 object /formaction { ( ) print == } def | ||||
wat_cap_abs | { nptgrids dup { 2 copy ne { () print 1 index .name ==ns ( ) print name ==ns ([) print 3 index 2 index 2 index 2 REORDER .nchunk ==ns (] ) print } if pop pop } forall2 pop } | ||||
wat_cap_abs | { boundingbox tojpg vector.ps } | ||||
wat_cap_abs | { PICT showcolors pop } | ||||
wat_cap_abs | { (plainvectorpage) htmlprint } | ||||
wat_cap_abs | { 2 copy exch cvx ( | ||||
) print () print pop 2 index /long_name known { pop long_name } { dup dup length dup 4 gt { 4 sub 4 getinterval dup (.cdf) eq exch (.cuf) eq or } { pop pop false } ifelse { 0 1 index length 4 sub getinterval cvn } if } ifelse htmlformulaprint htmlpathpush () print RestrictMetaData? { ( (restricted)) print } if ( | ) print npts 1 eq ndim 1 eq { datatype /stringtype eq bufferwordsize 1 eq and currentobject /CLIST known not and unitless? and or } if { () print pop } { nice== } ifelse htmlpathpop ( | ||||
wat_cap_abs | { mark WWWinfo .currenturldir urls== (/) /args FORMget interp { FORMget lpar exch urls== rpar (/) } forall /function FORMget (/) ] concat redirectto } | ||||
wat_cap_abs | { GIF 6 1 roll vectoramplitudecolor pop DoTasks } | ||||
wat_cap_abs | [ (#FEFEFF) (#EEEEEE) (#E7E7E7) (#DEDEDE) (#D7D7D7) (#CECECE) (#C7C7C7) (#BEBEBE) (#B7B7B7) (#AAAAAA) (#999999) (#888888) (#777777) ] | ||||
wat_cap_abs | { false currentobject /myproc known { currentobject /myprocds getknown { nip type /arraytype eq { true } { currentobject dataset exch .myprocds .dataset ne } ifelse } if } if } | ||||
wat_cap_abs | { currentobject /dataset_documentation.html getknown not { currentobject /dataset_documentation get } if dup totype /linktype eq { .href print } { pop dup (/) print dataseturl (/.dataset_documentation.html) print } ifelse pop } | ||||
wat_cap_abs | { FORMget null ne } | ||||
wat_cap_abs | { (HTTP/1.0 301 Moved content-type: text/html ) print (Cache-Control: no-cache ) print (Location: ) print dup type /stringtype eq { dup print ( Please look here. ) print false /sendmimeheader WWWinfo ! } | ||||
wat_cap_abs | { boundingboxc tojpg color.ps } | ||||
wat_cap_abs | { /i2 /mimesuffix WWWinfo ! optionalREORDER toi2 chunksize npts 2 mul mimeheaderwithlength datai2 DoTasks } | ||||
wat_cap_abs | { JPG 5 1 roll plainvector pop DoTasks } | ||||
wat_cap_abs | { JPG showcolors pop } | ||||
wat_cap_abs | { legalclientcheck getneedauthorizationdata { true /authorization? WWWinfo ! httpauthenticate } if } | ||||
wat_cap_abs | { exch 3 -1 roll MD5_Init exch MD5_Update (:) MD5_Update exch MD5_Update (:) MD5_Update exch MD5_Update MD5_Final string2hex } | ||||
wat_cap_abs | CaseListpops1 /streamtype { follow } def /datasettype { follow } def /arraytype { [ exch { [ exch follow counttomark array rastore nip } forall ] countcommonbeginning dup 0 gt { 2 copy exch 0 get exch 0 exch getinterval 3 1 roll mark 3 1 roll exch { 1 index 1 index length 1 index sub getinterval exch } forall pop ] mark 3 1 roll exch aload length 1 add -1 roll ] aload rastore aload pop } { pop } ifelse cvx } def | ||||
wat_cap_abs | 0 5 object | ||||
wat_cap_abs | { ( | ) print allparentlinks0a ( | ) print }|||
wat_cap_abs | { ( ) print } | ||||
wat_cap_abs | { PS2 4 1 roll colorscale pop DoTasks } | ||||
wat_cap_abs | { dup /long_name known { long_name } { cleanname } ifelse htmlformulaprint () print dup /myprocds getknownnotnull { ( ) print (*) print pop } if datasetlocmap? { ( [map]) print } if } | ||||
wat_cap_abs | { directoryredirect mimeheader } | ||||
wat_cap_abs | { exch ( ) (xxxx) search pop print pop htmlroot (http://) search { pop pop } if print printport print } | ||||
wat_cap_abs | { boundingboxc togif color.ps } | ||||
wat_cap_abs | { WWWinfo exch /last_modified exch def /expires null def sendmimeheader { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified mimesuffix /act ne { ( ) print } if flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if pop } | ||||
wat_cap_abs | { PS2 4 1 roll plaincolorwithscale pop DoTasks } | ||||
wat_cap_abs | { printheader? { theheader print false /printheader? HTMLwords ! } if } | ||||
wat_cap_abs | [ 6 ] | ||||
wat_cap_abs | { dup type /arraytype eq { (
| ||||
wat_cap_abs | 0 11 object /qop (auth) def /username (Mufasa) def /cnonce (0a4f113b) def /response (6629fae49393a05397450978507c4ef1) def /realm (testrealm@host.com) def /opaque (5ccc069c403ebaf9f0171e9517f40e41) def /nonce (dcd98b7102dd2f0e8b11d0f600bfb0c093) def /uri (/dir/index.html) def /nc (00000001) def | ||||
wat_cap_abs | { 2 copy exch cvx (
| ||||
wat_cap_abs | { JPG 6 1 roll vectorcontour pop DoTasks } | ||||
wat_cap_abs | { WWWinfo exch /map FORMgetknown { dup /X getknown { plotfirst readunits exch plotlast readunits nip 3 -1 roll dup /Y getknown { plotfirst readunits exch plotlast readunits nip 3 -1 roll pop 4 1 roll exch 4 -1 roll georect .iridl:geoId /bbox FORM! } { pop pop pop } ifelse } { pop } ifelse } if /bbox FORMgetknown { (?bbox=) exch 3array astore concat } if nip redirectto } | ||||
wat_cap_abs | CaseList /streamtype { npts 1 eq { exch 1 index } if } def /arraytype { dup xcheck { 3 -1 roll exch exec exch 3 1 roll viewerdatasetcase caseexec } if } def | ||||
wat_cap_abs | { nptgrids dup { 2 copy ne { () print 1 index .name ==ns ( ) print name ==ns ([) print 3 index 2 index 2 index 2 REORDER .nchunk ==ns (] ) print } if pop pop } forall2 pop } | ||||
wat_cap_abs | { (
| ||||
wat_cap_abs | { /showmenu? false store } | ||||
wat_cap_abs | { 1066077372 set_code_last_modified optionalREORDER toreal streamrescaleonlyifnecessary swapbytes chunksize npts 4 mul mimeheaderwithlength datar4 DoTasks } | ||||
wat_cap_abs | { mimeheader loadavg 0 get nproc 0 get div dup 8.0 lt { pop (OK) print } { (load ) print == ( is too high) print } ifelse ( ) print stop } | ||||
wat_cap_abs | { dup null eq { false } { .dataset dup type /arraytype eq { ifshortlink { 1 get } { 0 get } ifelse } if 2 copy eq { true } { ifshortlink0 } ifelse } ifelse } | ||||
wat_cap_abs | { dup /served_from known { true } { dup /dataset known { .dataset dup type /objecttype ne { pop false } { serveravailable? } ifelse } { pop false } ifelse } ifelse } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo doauthorize sendmimeheader { doifmodified? { (HTTP/1.0 200 OK ) print } if mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified /filename FORMgetknownnotnull { (Content-Disposition: attachment; filename=") print print (" ) print } if ( ) print flush false /sendmimeheader WWWinfo ! method /HEAD eq { stop } if } if pop } | ||||
wat_cap_abs | { npts 1 gt { nptgrids } { [ 1 index .streamgrids ] } ifelse dup length 1 sub get } | ||||
wat_cap_abs | { GIF 6 1 roll vectoramplitude pop DoTasks } | ||||
wat_cap_abs | { [ nptgrids { units /degree_east eq units /degree_north eq or { pop } if } forall ] } | ||||
wat_cap_abs | { PICT 4 1 roll plaincontour pop DoTasks } | ||||
wat_cap_abs | { expert? { (experthome) htmlprint } { doc .index.html } ifelse } | ||||
wat_cap_abs | { JPG 4 1 roll plaincolor pop DoTasks } | ||||
wat_cap_abs | { PNM 4 1 roll colorscale pop DoTasks } | ||||
wat_cap_abs | { PNM 5 1 roll plainvector pop DoTasks } | ||||
wat_cap_abs | { WWWinfo /url-q known { () print print () print } { pop } ifelse } | ||||
wat_cap_abs | { needauthorization { countstack 2 sub array astore aload false exch { dup type /objecttype eq { /RestrictedMetaData? getknown { or } if } { pop } ifelse } forall } { false } ifelse } | ||||
wat_cap_abs | { (&) search { (=) search { cvn nip exch urlunescape nullify pdefappend } { cvn true def } ifelse pop parseurlvarsunescape } { dup length 0 gt { (=) search { cvn nip exch urlunescape nullify pdefappend } { cvn true def } ifelse } { pop } ifelse } ifelse } | ||||
wat_cap_abs | { dup serveravailable? { .served_from } { served_from } ifelse } | ||||
wat_cap_abs | { oneline .ps } | ||||
wat_cap_abs | { (vectorcolorpage) htmlprint } | ||||
wat_cap_abs | { () print } | ||||
wat_cap_abs | { mimetypes WWWinfo .mimesuffix get } | ||||
wat_cap_abs | { (contourpage) htmlprint } | ||||
wat_cap_abs | { dup 5 object decompress datatype /geometrytype eq { ( | ||||
wat_cap_abs | { JPG 4 1 roll autocontour pop DoTasks } | ||||
wat_cap_abs | { PNM 6 1 roll vectorcolor pop DoTasks } | ||||
wat_cap_abs | { false /donttrust Ingrid: ! false /ObeyRestrictions? Ingrid: ! true /LDEOurl? Ingrid: ! } | ||||
wat_cap_abs | { dup type /arraytype eq { (
| ||||
wat_cap_abs | { mark 1 index interpurl counttomark 2 add -1 roll imagelink pop } | ||||
wat_cap_abs | true | ||||
wat_cap_abs | { showmenu? { leftmenuhead null 1 index leftmenu0asbottom pop leftmenutrailer } if } | ||||
wat_cap_abs | { ( ) search { nip exch (%20) exch urls== } if } | ||||
wat_cap_abs | { () print } | ||||
wat_cap_abs | { pop ( ) print } | ||||
wat_cap_abs | { needauthorization { countstack 2 sub array astore aload false exch { dup type /objecttype eq { /RestrictedData? getknown { or } if } { pop } ifelse } forall } { false } ifelse } | ||||
wat_cap_abs | { PNM exch newaxis pop } | ||||
wat_cap_abs | { legalclientcheck getneedauthorization { true /authorization? WWWinfo ! httpauthenticate } if } | ||||
wat_cap_abs | { ( | ) print dup type /arraytype eq { { render } forall } { allparentlinks0a } ifelse ( | ) print }|||
wat_cap_abs | false | ||||
wat_cap_abs | { WWWinfo .leftmenuinfo? not { null 5 object dup /leftmenuinfo WWWinfo ! } if } | ||||
wat_cap_abs | { datasetlocmap? { lat lon 2 null MATCH tablegridselect /tablegrid WWWinfo ! pop pop ( ) print } if } | ||||
wat_cap_abs | { 1 index FORMgetknown { 1 index getknown not { null } if } { null } ifelse ( ) print formcnt++ pop pop } | ||||
wat_cap_abs | { (vectoramplitudepage) htmlprint } | ||||
wat_cap_abs | { boundingbox topict line.ps } | ||||
wat_cap_abs | { PS 5 1 roll VECTOR pop DoTasks } | ||||
wat_cap_abs | { (onelinepage) htmlprint } | ||||
wat_cap_abs | { JPG 4 1 roll plaincolorwithscale pop DoTasks } | ||||
wat_cap_abs | { authorization-realms { nip leave } forall false dlauthCredGetRedirectX nip } | ||||
wat_cap_abs | { GIF 4 1 roll colorscale pop DoTasks } | ||||
wat_cap_abs | { PNM 6 1 roll vectoramplitudecolor pop DoTasks } | ||||
wat_cap_abs | { () print htmlformulaprint () print } | ||||
wat_cap_abs | { datasetlocmap? { true } { .dataset dup type /objecttype ne { pop false } { mapavailable? } ifelse } ifelse } | ||||
wat_cap_abs | { /ntable HTMLwords ! ntable NtoNaN mimeheader ntable array astore dup dup length 1 gt { dup 1 1 index length 1 sub getinterval { .longname print tab print } forall } if 0 get .longname print ( ) print dup dup length 1 gt { dup 1 1 index length 1 sub getinterval { dup /units known { units cvntos print pop } { pop } ifelse tab print } forall } if 0 get dup /units known { units cvntos print pop } { pop } ifelse ( ) print aload pop { gtable1 gtable2 gtable3 gtable4 } ntable 1 sub get exec DoTasks } | ||||
wat_cap_abs | 0 23 object (Zoom x1/4)cvn 0.25 def (same scale)cvn 1.0 def (x1/2)cvn 0.5 def (Zoom x2)cvn 2.0 def (Zoom x1/2)cvn 0.5 def /center 1.0 def /x8 8.0 def /x1 1.0 def (x1/4)cvn 0.25 def /x2 2.0 def (Zoom x4)cvn 4.0 def /x4 4.0 def (Click for Info)cvn null def /x16 16 def /Zoom 1.0 def (Zoom x1)cvn 1.0 def | ||||
wat_cap_abs | { nobots ( ) print () print leftmenu } | ||||
wat_cap_abs | CaseList /pendingdatasettype { dup xcheck { 3 -1 roll exch exec exch 3 1 roll leftmenucase caseexec } if } def /htmlfiletype { printheader? { 2 index leftmenusubhead pop false /printheader? HTMLwords ! } if ( | ) print } def /linktype { printheader? { 2 index leftmenusubhead pop false /printheader? HTMLwords ! } if ( ) print } def /datasettype { printheader? { 2 index leftmenusubhead pop false /printheader? HTMLwords ! } if ( ) print } def /arraytype { dup xcheck { 3 -1 roll exch exec exch 3 1 roll leftmenucase caseexec } if } def||||
wat_cap_abs | [ 0 ] | ||||
wat_cap_abs | { WWWinfo /If-Modified-Since known { last_modified null ne { WWWinfo .If-Modified-Since stringtotime last_modified code_last_modified imax current_last_modified null ne { current_last_modified imax } if ge { (HTTP/1.0 304 Not Modified ) print /HEAD /method WWWinfo ! false } { true } ifelse } { true } ifelse } { true } ifelse } | ||||
wat_cap_abs | { GIF 5 1 roll autovector pop DoTasks } | ||||
wat_cap_abs | { portaldlscript ( | ||||
wat_cap_abs | { MD5_Init systemtime 3600 idiv 3600 mul s== MD5_Update (:) MD5_Update (dcd98b7102dd2f0e8b11d0f600bfb0c093) MD5_Update MD5_Final string2hex } | ||||
wat_cap_abs | { /r8 /mimesuffix WWWinfo ! optionalREORDER streamrescale todouble swapbytes8 chunksize npts 8 mul mimeheaderwithlength datar8 DoTasks } | ||||
wat_cap_abs | { (WWW-Authenticate: Basic realm=") print authorization-realm print (" ) print } | ||||
wat_cap_abs | (5ccc069c403ebaf9f0171e9517f40e41) | ||||
wat_cap_abs | { } | ||||
wat_cap_abs | { boundingbox togif vector.ps } | ||||
wat_cap_abs | { exch 1 index cvn passwords exch 2 copy known { get exch 1 index 0 2 getinterval crypt eq { true } { pop false } ifelse } { pop pop pop pop false } ifelse } | ||||
wat_cap_abs | { ( | ) print ( ) print WWWinfo currentobject /Content-Languages getknown { ( ) print pop } if pop ( ) print maybeGoogleAnalytics }||||
wat_cap_abs | { JPG 6 1 roll vectoramplitudecolor pop DoTasks } | ||||
wat_cap_abs | { leftmenutoplevel 0 get leftmenulevel 0 get ge { WWWinfo .leftmenuinfo? { pop (index.html) print addleftmenuinfo } { WWWinfo FORMinfo null ne { (index.html) print addleftmenuinfo } if pop } ifelse } if } | ||||
wat_cap_abs | null | ||||
wat_cap_abs | { (colorpage) htmlprint } | ||||
wat_cap_abs | { GIF exch newaxis pop } | ||||
wat_cap_abs | 0 47 object /ui1 /ui1 def /pnm /pnm def /pdf /pdf def /owl /owl def /xsl /xsl def /r4 /r4 def /kml /kml def /kmz /kmz def /json /json def /idaimg /idaimg def /jpg /jpg def /arcinfo /arcinfo def /gif /gif def /gz /gz def /asc /asc def /cdf /cdf def /hdf /hdf def /txt /txt def /png /png def /nc /nc def /svg /svg def /dods /dods def /xml /xml def /dtd /dtd def /i2 /i2 def /tiff /tiff def /ps /ps def /pict /pict def /csv /csv def /s4 /s4 def /cuf /cuf def /ch /ch def /zip /zip def /das /das def /tsv /tsv def /multipart /multipart def /dds /dds def /r8 /r8 def /html /html def /lanimg /lanimg def | ||||
name | /==alias | ||||
wat_cap_abs | { oneline .jpg } | ||||
wat_cap_abs | { PNM showcolors pop } | ||||
wat_cap_abs | { WWWinfo .url-q dup length 1 sub 1 getinterval (/) eq not { WWWinfo .url-q length 10 ge { WWWinfo .url-q dup length 10 sub 10 getinterval (index.html) eq } { false } ifelse not { WWWinfo [ htmlroot redirectport 80 ne { (:) redirectport s== } if url-q (/) ] concat nip redirectto stop } if } if } | ||||
wat_cap_abs | 0 5 object /stringtype { urlprint } def /integertype { ==ns (+index) print } def /nametype { ==nsurl } def /arraytype { procasurl } def | ||||
wat_cap_abs | { dup length 0 eq { pop null } if } | ||||
wat_cap_abs | { currentobject /addcmd known { currentobject .addcmd urlprint currentobject /first? true def null null 5 object /command dup def /addcmd dup def /first? dup def /formaction dup def /==alias dup def { dup type /objecttype ne { first? { (?) /first? false store } { (&) } ifelse print exch cvntos print (=) print dup type /stringtype eq { urlprint } { dup null eq { pop } { ==ns } ifelse } ifelse } { { first? { (?) /first? false store } { (&) } ifelse print 2 index cvntos print (.) print exch cvntos print (=) print dup type /stringtype eq { urlprint } { dup null eq { pop } { ==ns } ifelse } ifelse } forall pop } ifelse } forsome } if } | ||||
wat_cap_abs | { WWWinfo /User-Agent known { WWWinfo .User-Agent dup length 7 gt { 0 7 getinterval (Mozilla) ne } { pop true } ifelse } if } | ||||
wat_cap_abs | { ( ) print } | ||||
wat_cap_abs | { dup length 2 eq { dup aload pop ifshortlink0 nip nip } { false } ifelse } | ||||
wat_cap_abs | { (Content-Description: ) print contentdescriptions WWWinfo .mimesuffix get print ( ) print } | ||||
wat_cap_abs | { GIF 4 1 roll plaincolor pop DoTasks } | ||||
wat_cap_abs | { (HTTP/1.0 301 Moved content-type: text/html ) print currentobject /last_modified known { last_modified null ne { (Last-Modified: ) print last_modified code_last_modified imax current_last_modified null ne { current_last_modified imax } if cvi timetostring print ( ) print } if } if WWWinfo /Vary_List known { (Vary:) print mark WWWinfo .Vary_List { pop } forall counttomark namearray astore nip namesort { space print cvntos print } forall ( ) print } if (Location: ) print dup type /stringtype eq { dup print ( Please look here. ) print false /sendmimeheader WWWinfo ! } | ||||
wat_cap_abs | { mark 2 index sortednames { 1 index exch get viewerdatasetcase caseexec pop } forall pop counttomark 0 gt { table: boldData mark :table .html } { pop } ifelse } | ||||
wat_cap_abs | { WWWinfo currentobject /Content-Languages getknown { LanguageList { WWWinfo /Content-Language getknown { cvn 1 index eq } { false } ifelse not { currentobject 1 index known { ( ) print } if } if pop } forall pop } if pop } | ||||
wat_cap_abs | { optionalREORDER toi1 chunksize npts mimeheaderwithlength 1 exch dataui1 dataui1 TaskStreams 0 get 1 NewIntegerBuffer 0 SetStreamIndex* TaskStreams .achunk pop * achunk array astore { last VALUE } forall getrealization pop } | ||||
wat_cap_abs | { oneline .pict } | ||||
wat_cap_abs | 0 67 object /idaimg (image/ida) def /css (text/css) def /ico (image/x-icon) def /zip (application/zip) def /pict (image/pict) def /ui1 (application/x-ui1) def /svg (image/svg+xml) def /mov (video/quicktime) def /m3d (application/x-m3d) def /tiff (image/tiff) def /tsv (text/tab-separated-values) def /kml (application/vnd.google-earth.kml+xml) def /lanimg (image/lan) def /gif (image/gif) def /cdf (application/x-netcdf) def /ch (text/plain) def /ppt (application/vnd.ms-powerpoint) def /js (text/javascript) def /owl (application/rdf+xml) def /kmz (application.vmd.google-earth.kmz) def /hdf (application/x-hdf) def /xhtml (application/xhtml+xml) def /dods (application/octet-stream) def /pdf (application/pdf) def /i2 (application/octet-stream) def /txt (text/plain) def /multipart (multipart/mixed; boundary=Ingrid-file-boundary---) def /json (application/json; charset=utf-8) def /html (text/html; charset=utf-8) def /cuf (application/octet-stream) def /nc (application/x-netcdf) def /xsl (text/xml) def /pnm (image/x-portable-anymap) def /csv (text/comma-separated-values) def /tex (text/x-latex) def /dds (text/plain) def /act (text/html) def /xml (text/xml) def /das (text/plain) def /asc (text/plain) def /arcinfo (application/arcinfo) def /png (image/png) def /ps (application/postscript) def /xbm (image/x-xbitmap) def /gz (application/x-gzip) def /dtd (text/xml) def /r4 (application/x-r4) def /s4 (application/x-s4) def /jpg (image/jpeg) def /r8 (application/octet-stream) def /latex (text/x-latex) def | ||||
wat_cap_abs | { currentobject 2 index pgetknown { dup type /arraytype eq { aload length 1 add array dup length 1 add -1 roll exch astore } { exch 2 array astore } ifelse } if pdef } | ||||
wat_cap_abs | ( ) | ||||
wat_cap_abs | { null 1 object exch /functionname exch def nptgrids 1 1 2 index length { 1 index exch { () print { .name == } forall ( ) print } combinations (| ) print } for pop pop } | ||||
wat_cap_abs | { WWWinfo .FORMinfo dup null eq { pop pop false } { exch getknownnotnull } ifelse } | ||||
wat_cap_abs | { false IRIurl? { (/IRIONLY) print } { LDEOurl? { (/LDEOONLY) print } if } ifelse } | ||||
wat_cap_abs | { boundingbox topict linex.ps } | ||||
wat_cap_abs | { SOURCES .WORLDBATH .bath Y low high RANGEEDGES exch lon (degree_east) unitconvert ndim RECHUNK exch lat (degree_north) unitconvert ndim RECHUNK exch 1 index .nptgrids length 1 gt { 3 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if colorareas :fig } { 3 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if scattercolor :fig } ifelse datasetselectplotrange } | ||||
wat_cap_abs | { PNM 4 1 roll plaincontour pop DoTasks } | ||||
wat_cap_abs | { (HTTP/1.0 301 Moved content-type: text/html ) print currentobject /last_modified known { last_modified null ne { (Last-Modified: ) print last_modified code_last_modified imax current_last_modified null ne { current_last_modified imax } if cvi timetostring print ( ) print } if } if WWWinfo /Vary_List known { (Vary:) print mark WWWinfo .Vary_List { pop } forall counttomark namearray astore nip namesort { space print cvntos print } forall ( ) print } if (Location: ) print dup type /stringtype eq { dup urlprint ( Please look here. ) print false /sendmimeheader WWWinfo ! } | ||||
wat_cap_abs | { chunksize datatsv } | ||||
wat_cap_abs | { (Date: ) print systemtime timetostring print ( Server: Ingrid 0.9 ) print (MIME-version: 1.0 ) print (Access-Control-Allow-Origin: * ) print WWWinfo /returncode getknown not { 0 } if 202 eq { (Cache-Control: must-revalidate ) print } { WWWinfo /max-age getknown { (Cache-Control: public, max-age=) print ==ns ( ) print } { (Cache-Control: public ) print } ifelse } ifelse WWWinfo .authorization? { (Vary: Authorization ) print } if } | ||||
wat_cap_abs | { /V FORMknown { [ WWWinfo .currenturldir (+) WWWinfo .FORMinfo .V { pop cvntos (+) } forall (VALUES/) ] concat redirectto } { defaultmimeheader } ifelse } | ||||
wat_cap_abs | null | ||||
wat_cap_abs | { ( ) print () print leftmenuasbottom } | ||||
wat_cap_abs | { PS 4 1 roll CONTOUR pop DoTasks } | ||||
wat_cap_abs | { dup 1 object dup dup makesortednamelist { dup totype /streamtype eq { .npts 1 gt } { pop false } ifelse { undef } { pop } ifelse } forsome } | ||||
wat_cap_abs | { /expires WWWinfo ! /last_modified WWWinfo ! WWWinfo sendmimeheader { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified mimesuffix /act ne { ( ) print } if flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if pop } | ||||
wat_cap_abs | { 1066077372 set_code_last_modified optionalREORDER toreal streamrescaleonlyifnecessary swapbytes chunksize npts 4 mul nchunk 8 mul add mimeheaderwithlength swapdatas4 DoTasks } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo sendmimeheader { nodefaultmimeheader mimesuffix known not { doifmodified? { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse } if mimeheaderinfo dolastmodified (Content-Type: ) print mimetype print mimesuffix /act eq { ( ) print } { ( ) print } ifelse flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if } if pop } | ||||
wat_cap_abs | { PS2 4 1 roll plaincolor pop DoTasks } | ||||
wat_cap_abs | { boundingbox togif line.ps } | ||||
wat_cap_abs | { PS2 6 1 roll vectorcolor pop DoTasks } | ||||
wat_cap_abs | { legalclient? not { (HTTP/1.0 403 Forbidden
) print (Content-Type: text/html
) print (403 Forbidden) print (Access to this server is denied ) print ( ) print flush stop } if } | ||||
wat_cap_abs | { PNM 6 1 roll vectorcontour pop DoTasks } | ||||
wat_cap_abs | { 1 index .nrdim 0 eq { ntable 0 MATCH exch 1 } { 1 REORDER chunk pop exch chunksize } ifelse datatsv2 } | ||||
wat_cap_abs | { WWWinfo .FORMinfo dup null eq { pop pop false } { exch getknown } ifelse } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo doauthorizedata sendmimeheader { doifmodified? { (HTTP/1.0 200 OK ) print } if mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified /filename FORMgetknownnotnull { (Content-Disposition: attachment; filename=") print print (" ) print } if ( ) print flush false /sendmimeheader WWWinfo ! method /HEAD eq { stop } if } if pop } | ||||
wat_cap_abs | 0 | ||||
wat_cap_abs | { nptgrids { () print name ==ns ( ) print pop } forall pop } | ||||
wat_cap_abs | HTMLwords | ||||
wat_cap_abs | { PS 4 1 roll COLOR pop DoTasks } | ||||
wat_cap_abs | { PS 5 1 roll SCATTER pop DoTasks } | ||||
wat_cap_abs | { ( alt=") print dup print (" title=") print print (") print } | ||||
wat_cap_abs | { /arcinfo /mimesuffix WWWinfo ! optionalREORDER pushstdout 2 RECHUNK chunk pop nip high low RANGE chunk pop pop low high RANGE chunk pop exch .npts (ncols) print == ( ) print .npts (nrows) print == ( ) print chunk pop exch .first (xllcenter) print == ( ) print .last (yllcenter) print == ( ) print chunk pop pop .step (cellsize) print == ( ) print getmissing_value array? nip { toNaN } if getmissing_value NaN eq { -9999 setmissing_value } if getmissing_value null ne { getmissing_value getscale_factor dup 1.0 eq { pop } { mul } ifelse getadd_offset dup 0.0 eq { pop } { add } ifelse (NODATA_value) print == ( ) print } if flush popstdout pop mimeheader printstdout data.ff.ch } | ||||
wat_cap_abs | { boundingbox tojpg line.ps } | ||||
wat_cap_abs | { (vectoramplitudecolorpage) htmlprint } | ||||
wat_cap_abs | { (linepage) htmlprint } | ||||
wat_cap_abs | { GIF 5 1 roll plainvector pop DoTasks } | ||||
wat_cap_abs | { PICT 4 1 roll plaincolor pop DoTasks } | ||||
wat_cap_abs | { JPG 5 1 roll autovector pop DoTasks } | ||||
wat_cap_abs | { { { ntable 0 MATCH 1 1 } { 3 1 roll copyachunk 3 -1 roll 0 RECHUNK copyachunk 1 index .npts 1 } { 2 REORDER chunk pop 2 copy .npts exch .npts exch } } 3 index .nrdim get exec 2 integerarray astore datatsv3N } | ||||
wat_cap_abs | CaseList /streamtype { npts 1 gt nptgrids length 1 eq and datatype /geometrytype eq not and { datasetcount 0 gt { [ datasetstack 0 datasetcount getinterval { .name cvntos ( .) } forall name cvntos ] concat } { name cvntos } ifelse dup WWWinfo .theoption cvntos eq { ( ) print } if } def /pendingdatasettype { exec variable1Dmenucase 1 index totype get exec } def /datasettype { dup pushdataset dup makesortednamelist { 2 copy get variable1Dmenucase 1 index totype get exec dropitem } forall popdataset } def | ||||
wat_cap_abs | { RESTRICTIONS /LDEOONLY dup put /LDGOtested? true store ifLDGO not { /RestrictedData? true def } if } | ||||
wat_cap_abs | [ null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null ] | ||||
wat_cap_abs | { wwwcopylastmod /content-length WWWinfo ! WWWinfo doauthorizedata sendmimeheader { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified content-length null ne { (Content-Length: ) print content-length ==ns ( ) print } if /filename FORMgetknownnotnull { (Content-Disposition: attachment; filename=") print print (" ) print } if mimesuffix /act ne { ( ) print } if flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if pop } | ||||
wat_cap_abs | { WWWinfo .sendmimeheader { /last_modified where { 2 copy eq { pop getexpires? not { null } if /expires WWWinfo ! getlast_modified? not { null } if /last_modified WWWinfo ! } { dup /expires known { getexpires? not { null } if } { null } ifelse /expires WWWinfo ! getlast_modified? not { null } if /last_modified WWWinfo ! pop } ifelse } { null /expires WWWinfo ! null /last_modified WWWinfo ! } ifelse currentobject /max-age known { max-age dup null eq { pop } { /max-age WWWinfo ! } ifelse } if } if } | ||||
wat_cap_abs | { () print htmlformulaprint () print } | ||||
wat_cap_abs | { WWWinfo MD5Users /Mufasa dup cvntos (testrealm@host.com) (Circle Of Life) HA1 def pop ValidUsers sampleresponse .username cvn dup def pop /url sampleresponse .uri def /method (GET) def sampleresponse dup == ( ) print (method: ") print method print (" ) print (url: ") print url print (" ) print username null localaskldap (ldap return code:) print dup == DigestErrorCodes exch get == ( ) print (HA1: ") print dup print (" ) print checkMD5response (checkMD5response:) print dup == ( ) print (reference response:) print response == ( ) print response eq { (Match ) } { (FAILED ) } ifelse print pop } | ||||
wat_cap_abs | { () print } | ||||
wat_cap_abs | { optionalREORDER mimeheader toreal streamrescale chunksize datatsv DoTasks } | ||||
wat_cap_abs | { /mymimeinfo WWWinfo ! wwwcopylastmod WWWinfo sendmimeheader { doifmodified? { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse } if mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified mymimeinfo null ne { mymimeinfo exec } if mimesuffix /act ne { ( ) print } if flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if pop } | ||||
wat_cap_abs | { WWWinfo /port known { WWWinfo donttrust nip { false } { WWWinfo .domainname dup null eq { pop true } { dup (ldgo.columbia.edu) eq 1 index (ldeo.columbia.edu) eq or WWWinfo .clientname (localhost) eq or nip } ifelse } ifelse } { true } ifelse } | ||||
wat_cap_abs | { FORMgetknown not { null } if } | ||||
wat_cap_abs | { dup makesortednamelist { 2 copy get variableattsmenucase caseexec dropitem } forall pop } | ||||
wat_cap_abs | /fullcommand | ||||
wat_cap_abs | { PS 4 1 roll LINE pop DoTasks } | ||||
wat_cap_abs | { { { ntable 0 MATCH 1 1 1 } { ntable -2 roll copyachunk ntable -1 roll 0 RECHUNK copyachunk ntable -1 roll 0 RECHUNK copyachunk 2 index .npts 1 1 } { ntable -2 roll copyachunk ntable -1 roll copyachunk ntable -1 roll 0 RECHUNK copyachunk 2 index .npts 2 index .npts 1 } { ntable 1 sub REORDER chunk array astore aload { .npts } forall } } 4 index .nrdim get exec 3 integerarray astore datatsv4N } | ||||
wat_cap_abs | { JPG 6 1 roll vectoramplitude pop DoTasks } | ||||
wat_cap_abs | { 2 copy exch cvx (
| ||||
wat_cap_abs | { HTMLwords /html:level html:level 1 sub put } | ||||
wat_cap_abs | { WWWinfo sendmimeheader { mimesuffix /act ne { ( ) print } if flush method /HEAD eq { stop } if false /sendmimeheader WWWinfo ! } if pop } | ||||
wat_cap_abs | { dup 1 eq { pop { counttomark array astore aload combinationproc exec pop } forall } { 1 sub 1 1 3 index length 3 index sub { 2 index 1 index 1 sub get 4 1 roll 2 index length 1 index sub 3 index 3 1 roll getinterval 1 index 4 2 roll counttomark 1 add 2 roll combinations0 pop counttomark 3 add -2 roll } for pop pop } ifelse } | ||||
wat_cap_abs | CaseList /stringtype { 2 index print (.) print 1 index cvntos print (=) print dup print ( ) print } def /integertype { 2 index print (.) print 1 index cvntos print (=) print dup ==ns ( ) print } def /nametype { cvntos attcase /stringtype get exec } def /realtype { 2 index print (.) print 1 index cvntos print (=) print dup ==ns ( ) print } def | ||||
wat_cap_abs | { PS 4 1 roll LINEX pop DoTasks } | ||||
wat_cap_abs | { (vectorcontourpage) htmlprint } | ||||
wat_cap_abs | { fig: line :fig } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo doauthorizedata RestrictData? { 2 (data restricted) DODSerror } if sendmimeheader { doifmodified? { (HTTP/1.0 200 OK ) print } if (XDODS-Server: Ingrid/2.15 ) print mimeheaderinfo DODScontentdescription (Content-Type: ) print mimetype print ( ) print dolastmodified ( ) print flush false /sendmimeheader WWWinfo ! method /HEAD eq { stop } if } if pop } | ||||
wat_cap_abs | { PICT 6 1 roll vectorcontour pop DoTasks } | ||||
wat_cap_abs | { currentobject /myproc getknown { dup length 1 eq { 0 get name eq } { pop false } ifelse } { true } ifelse } | ||||
wat_cap_abs | 0 5 object /formaction { machinename null eq { /machinename ifLDGO { hostname } { clientname } ifelse def } if filename null eq filename (/) eq or { (No filename entered. ) printerror } { filename stat { pop false } { true } ifelse { /filename [ (/hosts/) machinename filename 0 get 47 ne { (/) } if filename ] concat def } if filename stat { filename readfile redirectto } { [ () filename ( not found .) ] printerror } ifelse } ifelse } def /printerror { 404 errormimeheader () print dup type /stringtype eq { print } { { print } forall } ifelse ( ) print } def | ||||
wat_cap_abs | { dup /long_name known { long_name } { cleanname } ifelse htmlformulaprint () print dup /dataset_documentation.html known { () print (*) print } if datasetlocmap? { ( [map]) print } if } | ||||
wat_cap_abs | { dataset followcase caseexec } | ||||
wat_cap_abs | { () print htmlformulaprint () print } | ||||
wat_cap_abs | { PS2 5 1 roll autovector pop DoTasks } | ||||
wat_cap_abs | { dup /GCMD_id known { true } { dup /dataset known { .dataset dup type /objecttype ne { pop false } { gcmdidavailable? } ifelse } { pop false } ifelse } ifelse } | ||||
wat_cap_abs | { html:paths exch html:level exch put HTMLwords /html:level html:level 1 add put } | ||||
wat_cap_abs | { /i2 /mimesuffix WWWinfo ! optionalREORDER toi2 swapbytes2 chunksize npts 2 mul mimeheaderwithlength datai2 DoTasks } | ||||
wat_cap_abs | { boundingbox topict contour.ps } | ||||
wat_cap_abs | { JPG 4 1 roll plaincontour pop DoTasks } | ||||
wat_cap_abs | 0 5 object /dds (dods_dds) def /das (dods_das) def /dods (dods_data) def /asc (dods_data) def | ||||
wat_cap_abs | { streamgridarray { 2 index (map.) 2 index .name cvntos (.plotvalue) 3array astore concat getknown { VALUE } { pop } ifelse } forall npts 1 gt { pop } { dup getrealization 0 get cvsunits exch .name (map.) exch cvntos (.plotvalue) 3array astore concat exch def } ifelse } | ||||
wat_cap_abs | { optionalREORDER toreal getscale_factor getadd_offset RESCALE chunksize dup writei4 nchunk writei4 datar4 DoTasks } | ||||
wat_cap_abs | { 1 index 1 index gridnobyname dup 0 ne { gridbyno nip 3 index 2 index getknown { 2 copy .gridid exch .gridid eq { pop pop (M) true } { 2 copy .gridtype 2 ne exch .gridtype 2 ne and 2 index .units 2 index .units eq and { 2 copy .step exch .step eq { 2 copy .first exch .first sub 1 index .step div dup round exch sub dup 0.0 ne { 1 index .step mul s== (O=) exch append nip nip true } { pop pop pop (S) true } ifelse } { pop pop (D) true } ifelse } { pop pop (D) true } ifelse } ifelse } { pop (M) true } ifelse } { pop pop false } ifelse } | ||||
wat_cap_abs | { nptgrids { () print name ==ns ([) print 2 index 1 index 1 REORDER .nchunk ==ns (] ) print pop } forall pop } | ||||
wat_cap_abs | CaseList /streamtype { datasetcount 0 gt { [ datasetstack 0 datasetcount getinterval { .name cvntos (.) } forall name cvntos ] concat } { name cvntos } ifelse 2 copy print ( ) print DATASETbot hiddendatasetatts { attcase caseexec pop pop } forsome pop } def /datasettype { dup pushdataset dup makesortednamelist { 2 copy get variableattsmenucase 1 index totype get exec dropitem } forall popdataset } def /pendingdatasettype { dup xcheck { nip exec name exch variableattsmenucase 1 index totype get exec } if } def /arraytype { dup xcheck { nip exec name exch variableattsmenucase 1 index totype get exec } if } def | ||||
wat_cap_abs | { (HTTP/1.0 301 Moved content-type: text/html ) print (Location: ) print dup type /stringtype eq { dup urlprint addleftmenuinfo ( Please look here. ) print false /sendmimeheader WWWinfo ! } | ||||
wat_cap_abs | { /map getimageinput { click? { (You have chosen [) print clickpoint 0 get dup null ne { value printunits pop } { == } ifelse (, ) print clickpoint 1 get dup null ne { value printunits pop } { == } ifelse (]. ) print clickpoint 0 get null ne clickpoint 1 get null ne and { ( ) print (The nearest station is) print 1 index 5 object lon clickpoint 0 get .units unitconvert clickpoint 0 get a: .plotfirst :a: .plotlast :a masknotrange clickpoint 0 get .value sub dup mul lat clickpoint 1 get .units unitconvert clickpoint 1 get .value sub dup mul add dup nptgrids minover maskgt /name /maskgt def [ 2 index DATASETbot ==noprintdataset { nip datasethandlemaplistCases caseexec } forsome counttomark namearray astore namesort 3 -1 roll exch /long_name () def /units () def lon lat 2 null MATCH pop .streamgridarray 0 get exch { cvx counttomark 1 add index 1 index get exch /relativename exch def } forall table: terse [ /maskgt ] skipon hidecolumn boxlinkedunits units etc :table .html pop } if } if pop } { (Click on map to select data; change the Zoom menu to zoom in as well.) print } ifelse } | ||||
wat_cap_abs | { /combinationproc combinationdict ! combinationdict mark 4 2 roll combinations0 pop pop } | ||||
wat_cap_abs | { (plaincolorwithscalepage) htmlprint } | ||||
wat_cap_abs | { oneline .pnm } | ||||
wat_cap_abs | { boundingbox tojpg linex.ps } | ||||
wat_cap_abs | { true /expert? HTMLwords ! currentobject HTMLwords eq not { (/) redirectto flush stop } if } | ||||
wat_cap_abs | { true /printheader? HTMLwords ! /theheader HTMLwords ! } | ||||
wat_cap_abs | { leftmenulevel 0 2 copy get 1 add put addleftmenuinfodir leftmenulevel 0 2 copy get 1 sub put } | ||||
wat_cap_abs | { PS2 exch newaxis pop } | ||||
wat_cap_abs | { ( | ) print }||||
wat_cap_abs | { } | ||||
wat_cap_abs | { Ingrid: /GoogleAnalyticsDone known not { Ingrid: /GoogleAnalyticsID getknown { 1160491916 set_code_last_modified ( ) print ( ) print } if } if } | ||||
wat_cap_abs | { WWWinfo .FORMinfo dup null eq { pop pop false } { exch known } ifelse } | ||||
wat_cap_abs | { PNM 4 1 roll plaincolorwithscale pop DoTasks } | ||||
wat_cap_abs | { boundingbox togif contour.ps } | ||||
wat_cap_abs | { Ingrid: /GoogleAnalyticsID getknown { ( ) print Ingrid: /GoogleAnalyticsDone true put } if } | ||||
wat_cap_abs | { /X lon .get_scale_min null eq { -180 180 } { lon .get_scale_min lon .get_scale_max } ifelse plotrange lat .get_scale_min null eq { /Y -90 90 } { /Y lat .get_scale_min lat .get_scale_max } ifelse plotrange } | ||||
wat_cap_abs | { nobots ( ) print alternateLanguageLinks maybeGoogleAnalyticsHead } | ||||
wat_cap_abs | { PICT 6 1 roll vectorcolor pop DoTasks } | ||||
wat_cap_abs | 0 11 object 0 (OK) def 1 (No Such User) def 2 (user not authorized to access this dataset) def 3 (Digest password for user not yet set -- access not allowed) def 4 (dataset has no allowed access) def 5 (Bad Password) def 6 (Stale nonce) def 10 (Basic Authentication is not accepted -- must use a Browser than handles Digest Authentication) def | ||||
wat_cap_abs | { PICT 5 1 roll plainvector pop DoTasks } | ||||
wat_cap_abs | { null 1 object exch /functionname exch def nptgrids 1 1 2 index length { 1 index exch { () print { .name == } forall ( ) print } combinations (| ) print } for pop pop } | ||||
wat_cap_abs | { leftmenulevel 0 get 1 le } | ||||
wat_cap_abs | { ( | ||||
) print 2 index 0 get 0 5 getinterval (http:) eq { () print 1 index cvntos dup dup length dup 5 gt { 5 sub 5 getinterval (.html) eq } { pop pop false } ifelse { 0 1 index length 5 sub getinterval cvn } if printno_ ( | |||||
wat_cap_abs | { SOURCES .WORLDBATH .bath Y low high RANGEEDGES exch lon (degree_east) unitconvert ndim RECHUNK exch lat (degree_north) unitconvert ndim RECHUNK exch 3 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if scattersized :fig datasetselectplotrange } | ||||
wat_cap_abs | { /leftmenuinfotop? true def } | ||||
wat_cap_abs | { GIF 4 1 roll plaincolorwithscale pop DoTasks } | ||||
wat_cap_abs | [ null ] | ||||
wat_cap_abs | { WWWinfo url-q length url length eq showmenu? not or { false } { url url-q length 1 add url length 1 index sub getinterval (&) search { pop pop pop true } { pop false } ifelse } ifelse nip { ( ) print } if } | ||||
wat_cap_abs | { PS2 6 1 roll vectoramplitudecolor pop DoTasks } | ||||
wat_cap_abs | { dup /dataset_documentation.html known { () print } if () print dup /myproc known { dup /myprocds getknown { type /arraytype eq { false } { dup dataset exch .myprocds .dataset eq } ifelse } { dup /dataset knownnotnull not } ifelse { myproc { == } forall () print } { allparentlinks01 } ifelse } { allparentlinks00 } ifelse pop } | ||||
wat_cap_abs | { boundingbox tojpg scatter.ps } | ||||
wat_cap_abs | { WWWinfo /digesterrorcode null put (Basic ) search { pop pop decodebase64 (:) search { nip checkauthorization } { pop false } ifelse } { pop false } ifelse } | ||||
wat_cap_abs | { wwwcopylastmod WWWinfo doauthorizedata sendmimeheader { doifmodified? { mimesuffix /act eq { (HTTP/1.0 301 Moved ) print } { (HTTP/1.0 200 OK ) print } ifelse } if mimeheaderinfo (Content-Type: ) print mimetype print ( ) print dolastmodified /filename FORMgetknownnotnull { (Content-Disposition: attachment; filename=") print print (" ) print } if flush } if pop } | ||||
wat_cap_abs | { 2 copy exch cvx (
| ||||
wat_cap_abs | { mark exch DATASETbot ==noprintdataset { pop } forsome counttomark namearray astore nip namesort } | ||||
wat_cap_abs | { nptgrids dup { 2 copy ne { () print 1 index .name ==ns ( ) print name ==ns ([) print 3 index 2 index 2 index 2 REORDER .nchunk ==ns (] ) print } if pop pop } forall2 pop } | ||||
wat_cap_abs | { optionalREORDER mimeheader printstreamunits } | ||||
wat_cap_abs | (iri.columbia.edu) | ||||
wat_cap_abs | { GIF 6 1 roll vectorcolor pop DoTasks } | ||||
wat_cap_abs | { ParseDigestAuthentication { null false authorization-realms { nip username exch askldap dup /digesterrorcode WWWinfo ! 0 eq 4 2 roll pop pop dup not { leave } if } forall { checkMD5response dup /checkMD5R WWWinfo ! response eq { nonce Digest-nonce eq { WWWinfo .authorization-realms /DataLibraryAccess known { ValidUsers username cvn known dup not { 2 /digesterrorcode WWWinfo ! } if } { true } ifelse nip } { 6 /digesterrorcode WWWinfo ! pop false } ifelse } { 5 /digesterrorcode WWWinfo ! pop false } ifelse } { pop false } ifelse } { false } ifelse } | ||||
wat_cap_abs | { (%%BoundingBox: 0 0 288 50 startPSplot 0 35 moveto startplot 4 inch 15 area2d ) print (/axisinset 0 def) print low step abs 0.5 mul sub == high step abs 0.5 mul add == ( 0 1 setlimits axis: bottom /units ) print units cvntos == ( def nicetics ticlabels :axis endplot endPSplot ) print } | ||||
wat_cap_abs | { SOURCES .WORLDBATH .bath () /labeltype parameter (Color) eq () /ptlbls parameter () ne and { halfgreyscale } if lon (degree_east) unitconvert ndim RECHUNK lat (degree_north) unitconvert ndim RECHUNK lon .npts 40000 gt { dup dataflag 2 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if regridmask :fig } { nptgrids length 1 gt { nptgrids 1 get 3 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if /labeltype get_parameter () eq /ptlbls get_parameter () eq or { scatterlines } { /labeltype get_parameter (Color) eq { ||colorareas } { scatterlines } ifelse } ifelse :fig } { 2 index X exch .Y /labeltype get_parameter () ne /ptlbls get_parameter () ne and { /ptlbls get_parameter cvn cvx exec 3 1 roll } if fig: /color_smoothing null def /plotaxislength 432 def colors coasts PGSQL? { lakes } if /labeltype get_parameter () eq /ptlbls get_parameter () eq or { scatter } { /labeltype get_parameter (Label) eq { scatterlabel } if /labeltype get_parameter (Color) eq { || scattercolor } if /labeltype get_parameter (Size) eq { scattersized } if } ifelse :fig } ifelse } ifelse datasetselectplotrange } | ||||
wat_cap_abs | { GIF showcolors pop } | ||||
wat_cap_abs | { (vectorcontourtogapage) htmlprint } | ||||
wat_cap_abs | { GIF 4 1 roll autocontour pop DoTasks } | ||||
wat_cap_abs | { (_) search { print pop ( ) print printno_ } { print } ifelse } | ||||
wat_cap_abs | { 2 copy exch cvx ( | ||||
) print dup cvntos 2 index /long_name known { pop long_name } { dup dup length dup 4 gt { 4 sub 4 getinterval (.cdf) eq } { pop pop false } ifelse { 0 1 index length 4 sub getinterval cvn } if } ifelse print htmlpathpush () print dup /standard_name getknown { cvntos == } if ( | ) print nice== htmlpathpop ( | ||||
wat_cap_abs | { 0 allparentlinkcount astore pop mark 1 index follow counttomark array rastore nip rendercnt } | ||||
wat_cap_abs | false | ||||
wat_cap_abs | { WWWinfo .leftmenuinfo? { leftmenutoplevel 0 get leftmenulevel 0 get ge { (?) exch { 3 -1 roll print (&) 3 1 roll exch cvntos print (=) print dup type /stringtype ne { s== } if urlprint } forall pop } { pop } ifelse } { leftmenutoplevel 0 get leftmenulevel 0 get ge { WWWinfo url-q length url length ne { (?) print url url-q length 1 add url length 1 index sub getinterval urlprint } if pop } if } ifelse } | ||||
wat_cap_abs | { (portaldlscript) htmlprint } | ||||
wat_cap_abs | CaseListpops1 | ||||
wat_cap_abs | FORMwords /test.act 0 23 object /formaction { ( ) print dup /map known { /x map .x cvi def /y map .y cvi def } { /x x cvi def /y y cvi def } ifelse /pointX x 38.0 sub xh xl sub mul 432 div xl add def /pointY 225.0 y sub yh yl sub mul 215 div yl add def (test) htmlprint } def /yh 90 def /yl -90 def /xh 180 def /xl -180 def def | ||||
wat_cap_abs | { boundingbox togif linex.ps } | ||||
wat_cap_abs | { 0 0 288 50 togif axis.ps } | ||||
wat_cap_abs | { oneline .gif } | ||||
wat_cap_abs | { 1 index /selectname Ingrid: ! false /selectoptionfound Ingrid: ! ( | ||||
wat_cap_abs | { mycoach } | ||||
wat_cap_abs | { /r8 /mimesuffix WWWinfo ! optionalREORDER streamrescale todouble chunksize npts 8 mul mimeheaderwithlength datar8 DoTasks } | ||||
wat_cap_abs | { PS2 6 1 roll vectorcontour pop DoTasks } | ||||
wat_cap_abs | { (parent) htmlpathpush } | ||||
wat_cap_abs | { boundingbox togif scatter.ps } | ||||
wat_cap_abs | { SOURCES .WORLDBATH .bath lat .get_scale_min null eq { Y low high RANGEEDGES } { Y lat .get_scale_min lat .get_scale_max RANGEEDGES } ifelse Y low high RANGEEDGES exch lon (degree_east) unitconvert ndim RECHUNK exch lat exch 3 index X exch .Y fig: /color_smoothing null def /plotaxislength 432 def colors scatterlabel :fig datasetselectplotrange } | ||||
wat_cap_abs | { (search) htmlprint } | ||||
wat_cap_abs | { dup 0 get length 1 index { length imin } forall 1 sub dup 0 ge { 0 countcommonbeginning0 nip } if } | ||||
wat_cap_abs | { decompress nptgridsREORDER toNaN nptgrids aload length 1 add dup 4 le { gtable.tsv } { table.tsv } ifelse } | ||||
wat_cap_abs | { ( ) print } | ||||
wat_cap_abs | { PSmode true store ifpream pop } | ||||
wat_cap_abs | { (Digest) search { pop pop null 5 object exch null { deleteleadingspaces (=) search { nip exch dup 0 1 getinterval (") eq { deletefirstchar (") search { nip } if exch deletefirstchar exch } { (,) search { nip } { () exch } ifelse } ifelse 3 2 roll exch def } { pop leave } ifelse } repeat true } { pop false WWWinfo /digesterrorcode 10 put } ifelse } | ||||
wat_cap_abs | { 1 index FORMgetknown { 1 index getknown not { null } if } { null } ifelse ( ) print formcnt++ pop pop } | ||||
wat_cap_abs | { PNM 4 1 roll autocontour pop DoTasks } | ||||
wat_cap_abs | { nptgrids dup { 2 copy ne { () print 1 index .name ==ns ( ) print name ==ns ([) print 3 index 2 index 2 index 2 REORDER .nchunk ==ns (] ) print } if pop pop } forall2 pop } | ||||
wat_cap_abs | { PICT 4 1 roll colorscale pop DoTasks } | ||||
wat_cap_abs | { dataset type /objecttype eq { allparentlinkcount 0 get 7 lt { allparentlinkcount 0 get 1 add allparentlinkcount astore pop dataset allparentlinks1 allparentlinkcount 0 get 1 sub allparentlinkcount astore pop } { ( | ... | ) print } ifelse } { dataset type /arraytype eq { dataset 0 get dup totype /datasettype eq { dataset null eq { /myproc getknown { length 1 eq } { false } ifelse } { pop false } ifelse } { pop false } ifelse { dataset 0 get () print .myproc 0 get cvntos print ( | ) print dataset 1 1 index length 1 sub getinterval } { dataset } ifelse ifshortlink { 1 1 getinterval } if dup length 1 eq { 0 get allparentlinks1 } { (||
wat_cap_abs | { 1066077372 set_code_last_modified optionalREORDER toreal streamrescaleonlyifnecessary chunksize npts 4 mul nchunk 8 mul add mimeheaderwithlength datas4 DoTasks } | ||||
wat_cap_abs | { dup /dataset_documentation.html known { true } { dup /dataset_documentation known } ifelse { true } { dup /dataset known { .dataset dup type /objecttype ne { pop false } { docavailable? } ifelse } { pop false } ifelse } ifelse } | ||||
wat_cap_abs | { skipcache? { exec } { flush pushstdout URLrootprint (/) print 2 index dataseturl (/skipcache/) print 1 index cvpops ==ns (/dods) print flush popgetstdout DATASET 5 object exch { continuedataset: :datasetnostore } readdods0 2 index cvpops exec 5 object /dataset 4 index def /myprocds 2 index def /myproc { } cvlit def nip } ifelse } | ||||
wat_cap_abs | { leftmenulevel 0 2 copy get 1 add put leftmenuinfotop? { leftmenutoplevel 0 leftmenulevel 0 get put } if leftmenusub? { dataset null ne { dataset leftmenu0 } if } if true /printheader? HTMLwords ! printheader? not { leftmenusubtrail } if pop leftmenulevel 0 2 copy get 1 sub put } | ||||
wat_cap_abs | -operator- | ||||
wat_cap_abs | { PICT 6 1 roll vectoramplitude pop DoTasks } | ||||
wat_cap_abs | { === } | ||||
wat_cap_abs | { 1 index /responseobject WWWinfo ! currentobject /algorithm getknown { (md5-sess) eq } { false } ifelse { hex2string MD5_Init exch MD5_Update (:) MD5_Update nonce MD5_Update (:) MD5_Update cnonce MD5_Update MD5_Final string2hex } if MD5_Init exch MD5_Update (:) MD5_Update nonce MD5_Update (:) MD5_Update currentobject /qop getknown { length 0 gt } { false } ifelse { nc MD5_Update (:) MD5_Update cnonce MD5_Update (:) MD5_Update qop MD5_Update (:) MD5_Update } if MD5_Init WWWinfo .method MD5_Update (:) MD5_Update uri MD5_Update MD5_Final string2hex MD5_Update MD5_Final string2hex } | ||||
wat_cap_abs | { (WWW-Authenticate: Digest realm=") print DigestAuthorization-realm print (", qop="auth", nonce=") print Digest-nonce print (", opaque=") print Digest-opaque print (" ) print WWWinfo /digesterrorcode getknownnotnull { 6 eq { (stale="true" ) print } if } if } | ||||
wat_cap_abs | { boundingboxc topict color.ps } | ||||
wat_cap_abs | { countstack 2 sub array astore dup { dup totype /streamtype eq { decompress } if } forall countstack 3 sub array astore null 11 object 1 index { dup totype /streamtype eq { .streamgridarray { name exch def } forall } { pop } ifelse } forall (
| ||||
wat_cap_abs | { mimeheader /ntable HTMLwords ! ntable 0 MATCH ntable NtoNaN ntable array astore dup dup 0 get .longname print dup length 1 gt { dup 1 1 index length 1 sub getinterval { tab print .longname print } forall } if ( ) print aload pop 1 { datatsv datatsv2 datatsv3 datatsv4 datatsv5 datatsv6 datatsv7 datatsv8 datatsv9 datatsv10 } ntable 1 sub get exec DoTasks } | ||||
wat_cap_abs | FORMwords | ||||
wat_cap_abs | { PICT 4 1 roll plaincolorwithscale pop DoTasks } | ||||
wat_cap_abs | { PS2 5 1 roll plainvector pop DoTasks } | ||||
wat_cap_abs | { 2 copy exch cvx (
| ||||
wat_cap_abs | { PNM 5 1 roll autovector pop DoTasks } | ||||
wat_cap_abs | { 1 index /selectname Ingrid: ! false /selectoptionfound Ingrid: ! ( | ||||
wat_cap_abs | { (plaincolorpage) htmlprint } | ||||
wat_cap_abs | { PS2 showcolors pop } | ||||
wat_cap_abs | { dup 2 index eq { ( | ||||
wat_cap_abs | { (+) search { interp pop urlinterp } { interp } ifelse } |