forked from Refrakt/SwellAR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ocean current visualisation using OSCAR data
- Loading branch information
1 parent
266fded
commit 103f859
Showing
32 changed files
with
1,346 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/perl -w | ||
|
||
use strict; | ||
|
||
my $plistout = "$ENV{SRCROOT}/$ENV{PRODUCT_NAME}/Settings.bundle/Acknowledgements.plist"; | ||
|
||
open(my $plistfh, '>', $plistout) or die $!; | ||
|
||
print $plistfh <<'EOD'; | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>StringsTable</key> | ||
<string>Acknowledgements</string> | ||
<key>PreferenceSpecifiers</key> | ||
<array> | ||
<dict> | ||
<key>Type</key> | ||
<string>PSGroupSpecifier</string> | ||
<key>FooterText</key> | ||
<string>Portions of this software may utilize the following copyrighted material, the use of which is hereby acknowledged:</string> | ||
</dict> | ||
EOD | ||
for my $i (sort glob("*.license")) | ||
{ | ||
my $value=`cat $i`; | ||
$value =~ s/\r//g; | ||
$value =~ s/\n/\r/g; | ||
$value =~ s/[ \t]+\r/\r/g; | ||
$value =~ s/&/\&/g; | ||
$value =~ s/\"/\"/g; | ||
$value =~ s/</\</g; | ||
$value =~ s/>/\>/g; | ||
|
||
my $name = substr($i, 0, -8); | ||
|
||
print $plistfh <<"EOD"; | ||
<dict> | ||
<key>Type</key> | ||
<string>PSGroupSpecifier</string> | ||
<key>FooterText</key> | ||
<string>$name\r$value</string> | ||
</dict> | ||
EOD | ||
} | ||
|
||
print $plistfh <<'EOD'; | ||
</array> | ||
</dict> | ||
</plist> | ||
EOD | ||
close($plistfh); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ISC License | ||
|
||
Copyright (c) 2016, Mapbox | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"lonMax":260,"uMax":2.8299601078033447,"dataset":"oscar_vel9472.nc","lonMin":104.66666412353516,"width":467,"time":9472,"uMin":-3.5211789608001709,"vMax":2.7663810253143311,"latMax":-57,"vMin":-2.6193342208862305,"height":288,"latMin":38.666667938232422} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
OceaniAR.xcodeproj/xcuserdata/mcschroeder.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "1" | ||
version = "2.0"> | ||
</Bucket> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.