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
{% extends "base.html" %} | |
{% load i18n %} | |
{% block css %} | |
<style type="text/css"> | |
.calendar { | |
font-family: 'Trebuchet MS', Tahoma, Verdana, Arial, sans-serif; | |
font-size: 0.9em; | |
background-color: #EEE; | |
color: #333; |
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
(function () { | |
var d = null; | |
function e(a) { | |
return function (b) { | |
this[a] = b | |
} | |
} | |
function h(a) { | |
return function () { |
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
#!/usr/bin/env python | |
import os, sys | |
from optparse import OptionParser | |
from datetime import datetime | |
import logging | |
import psycopg2, psycopg2.extras | |
import math | |
from collections import defaultdict | |
# |
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
#! /bin/bash | |
# | |
#20120828 clai@csir.co.za | |
# Run CIMSS CSPP software on incoming NPP raw data files from EOS FES. | |
# This script is called when a separate script detects new file | |
# | |
#20120928 clai@csir.co.za | |
# Added CrIS SDR processing |
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
#! /bin/bash | |
# | |
# This script downloads all gdas1.PGrbF00.*.*.z of previous day or | |
# whichever day specified by '-d' options given to 'date' command | |
# into current directory. | |
# | |
# Download GDAS of a specific day using '-d' option of date command. | |
# | |
# The Global Data Assimilation System (GDAS) files are required |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys, os, logging, re | |
from optparse import OptionParser | |
from datetime import datetime, timedelta | |
from glob import iglob as glob | |
help_text = """%prog [options] -t TYPE npp_dat_file |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys, os, logging, re | |
from optparse import OptionParser | |
from datetime import datetime, timedelta | |
help_text = """%prog npp_dat_file | |
Given a NPP raw data filename e.g. NPP.20120827.114454.dat, |
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
#! /bin/bash | |
# | |
# Use DRL software suite to process NPP data and produce | |
# geolocated truecolor GeoTiff image | |
# | |
if [ $# -lt 1 ] || [ ! -f "$1" ]; then | |
echo "usage: $0 NPP_DAT" >&2 | |
exit 1 |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os, sys | |
from optparse import OptionParser | |
import string | |
import urllib2 | |
import simplejson | |
import logging | |
from datetime import datetime | |
import time |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os, sys | |
from optparse import OptionParser | |
import string | |
import urllib2 | |
import simplejson | |
import logging | |
help_text = """usage: %prog [options] ISO_country_code ... |