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
import matplotlib.pyplot as plt | |
import rasterio | |
from rasterio.windows import Window | |
import time | |
import zarr | |
def convert(raster_filepath, chunk_mbs=1): | |
""" | |
Converts raster file to chunked and compressed zarr array. Tested |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> | |
<dependencies> | |
<deployment identifier="iOS"/> | |
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/> | |
</dependencies> | |
<objects> | |
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> | |
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> | |
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="JJWParallaxHeaderViewWithVisualEffect"> |
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
// | |
// UIScrollView+VGParallaxHeader.m | |
// | |
// Created by Marek Serafin on 2014-09-18. | |
// Copyright (c) 2013 VG. All rights reserved. | |
// | |
#import "UIScrollView+VGParallaxHeader.h" | |
#import <objc/runtime.h> |
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
// | |
// UIScrollView+VKParallaxHeader.m | |
// | |
// Created by Marek Serafin on 2014-09-18. | |
// Copyright (c) 2013 VG. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
typedef NS_ENUM(NSInteger, VGParallaxHeaderMode) { |
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
// | |
// JJWParallaxHeaderViewWithVisualEffect.m | |
// ParallaxScrollViewHeaderWithBlur | |
// | |
// Created by Joel West on 2/22/16. | |
// Copyright © 2016 WestSutdios. All rights reserved. | |
// | |
#import "JJWParallaxHeaderViewWithVisualEffect.h" |
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
// | |
// JJWParallaxHeaderViewWithVisualEffect.h | |
// ParallaxScrollViewHeaderWithBlur | |
// | |
// Created by Joel West on 2/22/16. | |
// Copyright © 2016 WestSutdios. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
Uploading from Mac Terminal to Remote EC2 ... | |
scp -i [yourpemfile.pem] [directoryPath]/* [user]@[elastic IP]:[directoryPathToUploadTo] | |
For example ... | |
scp -i chubbs_spat.pem arab_data/* [email protected]:PGRestAPI/endpoints/mapnik/data/shapefiles/ | |
Downloading from EC2 Ubuntu to Mac Terminal... | |
scp -i [yourpemfile.pem] [user]@[elastic IP]:[diretoryPthToFileToDownloadFrom] [directoryPathToDownloadTo] |
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
/* | |
File: KeychainItemWrapper.h | |
Abstract: | |
Objective-C wrapper for accessing a single keychain item. | |
Version: 1.2 - ARCified | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple | |
Inc. ("Apple") in consideration of your agreement to the following | |
terms, and your use, installation, modification or redistribution of |
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
<!Doctype html> | |
<html> | |
<head> | |
<title>311 Density</title> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="https://github.com/CloudMade/Leaflet/raw/master/dist/leaflet.css" /> | |
<!--[if lte IE 8]><link rel="stylesheet" href="https://github.com/CloudMade/Leaflet/raw/master/dist/leaflet.ie.css" /><![endif]--> | |
</head> | |
<body> |
NewerOlder