This file contains hidden or 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
from pyDataverse.api import Api | |
from pyDataverse.exceptions import DatasetNotFoundError | |
from typing import List, Dict | |
import requests | |
import json | |
import pdfx | |
import re | |
from glob2 import glob | |
This file contains hidden or 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
# NACpipeline Argo workflow | |
# Aaron Curtis | |
# Concurrency rules: Write files as temporary, then move to intended dest. Check for existing output before starting. | |
apiVersion: argoproj.io/v1alpha1 | |
kind: Workflow | |
metadata: | |
generateName: nac-stereo- | |
spec: | |
entrypoint: nac-mosaic |
This file contains hidden or 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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: workflow-controller-configmap | |
namespace: default | |
data: | |
artifactRepository: | | |
archiveLogs: true | |
s3: | |
bucket: my-bucket |
This file contains hidden or 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
diff --git a/node_modules/parcel-plugin-asset-fourohfour/lib/CSS404Asset.js b/node_modules/parcel-plugin-asset-fourohfour/lib/CSS404Asset.js | |
index bad81f9..7028c39 100644 | |
--- a/node_modules/parcel-plugin-asset-fourohfour/lib/CSS404Asset.js | |
+++ b/node_modules/parcel-plugin-asset-fourohfour/lib/CSS404Asset.js | |
@@ -3,7 +3,7 @@ | |
const debug = require('debug')('parcel-plugin-asset-fourohfour'); | |
const fs = require('fs'); | |
const CSSAsset = require('parcel-bundler/lib/assets/CSSAsset'); | |
-const logger = require('parcel-bundler/lib/Logger'); | |
+const logger = require("@parcel/logger"); |
This file contains hidden or 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
<html> | |
<body> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.js"> | |
</script> | |
<script> | |
// Setup | |
let body = d3.selectAll('body') | |
let exampleData = | |
[ | |
{_id:"groupOne", items:['one','two']}, |
This file contains hidden or 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
Template.notebookIndex.onRendered(function() { | |
var self = this; | |
self.autorun(function () { | |
self.subscribe('publicPosts', Session.get('current_tag'), function () { | |
console.log($('.post-meta')); | |
// Unfortunate hack to align the post meta info | |
//setTimeout(function(){ | |
self.$('.post-meta').each(function () { | |
$(this).css('transform', 'rotate(270deg) translate(-' + $(this).width() + 'px, -1.5em)') | |
}) |
This file contains hidden or 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 os, subprocess, glob, numpy | |
from datetime import datetime | |
import gdal_calculations as gdalcalc | |
def hdf_dir_to_tif(input_dir): | |
acquisition_date = input_dir[-11:-1] | |
print 'Converting HDFs to TIFs' | |
for hdf_filepath in glob.glob(input_dir+'*.hdf'): | |
tif_filepath = hdf_filepath +'.tif' | |
subprocess.call( |
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 hidden or 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
{ | |
"metadata": { | |
"name": "pandas short first row" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |