Skip to content

Instantly share code, notes, and snippets.

View prl900's full-sized avatar

Pablo Rozas Larraondo prl900

View GitHub Profile
package main
import (
"fmt"
"image"
"image/color"
"image/png"
"log"
"math/rand"
"os"
import datacube
from datacube.drivers.netcdf import write_dataset_to_netcdf
import argparse
parser = argparse.ArgumentParser(description="""Script to request Sentinel2 data from the NCI and save it as NetCDF""")
parser.add_argument('-lat', '--latitude', type=float, required=True, help="Latitude for central point of tile")
parser.add_argument('-lon', '--longitude', type=float, required=True, help="Latitude for central point of tile")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"cells": [
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"\n",
date value
2020-07-19T02:50 76
2020-07-19T03:00 34
2020-07-19T03:10 34
2020-07-19T03:20 53
2020-07-19T03:30 87
2020-07-19T03:40 23
2020-07-19T03:50 76
2020-07-19T04:00 56
2020-07-19T04:10 33
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package main
import (
"fmt"
"image"
"image/png"
"math"
"os"
"time"