Git Product home page Git Product logo

data_cube_utilities's People

Contributors

alfredo-ama avatar ceos-seo avatar dlubawy-ama avatar jcrattz avatar johnrattz avatar kfox-ama avatar otto-ama avatar v0lat1le avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

data_cube_utilities's Issues

No module named 'utils.data_cube_utilities.plotter_utils'

###Objective
Running notebook 'SatSummit_Samoa_Landsat_clouds' from opendatacube/datacube_notebooks here. It already contains utils folder with necessary data_cube_utilties.
###Expected
from utils.data_cube_utilities.dc_rgb import rgb
should work
###Observed

ModuleNotFoundError                       Traceback (most recent call last)
/tmp/ipykernel_5859/1040841299.py in <module>
----> 1 from utils.data_cube_utilities.dc_rgb import rgb

~/hostspace/datacube-notebooks/Cloud Analysis/../utils/data_cube_utilities/dc_rgb.py in <module>
      3 import numpy as np
      4 
----> 5 from .plotter_utils import figure_ratio, xarray_set_axes_labels, retrieve_or_create_fig_ax
      6 
      7 # Change the bands (RGB) here if you want other false color combinations

ModuleNotFoundError: No module named 'utils.data_cube_utilities.plotter_utils'

###Environment
Open Data Cube core, version 1.8.6, Ubuntu 20.04.3 LTS, gdal 3.4.0

datetime list precision Issue

dates += dataset.time.values.astype('M8[ms]').tolist()

The datetime list generated by function above is precise to milliseconds.

https://github.com/ceos-seo/data_cube_ui/blob/14fa410b7e8fc9d08ba2029f23dd07f9d83ff1d9/apps/custom_mosaic_tool/tasks.py#L279

Precision needed to be in microseconds for above calling function to work correctly
This results in return of empty datasets more than half the time.

Where to get the .datacube.conf file for

I got error 400 to sign in to my google account.

# Suppress Warning Messages
import warnings
warnings.filterwarnings('ignore')

# Load Data Cube Configuration
from odc_gee import earthengine
dc = earthengine.Datacube(app='Getting_Started_loading_data')

# Import Data Cube API
import utils.data_cube_utilities.data_access_api as dc_api  
api = dc_api.DataAccessApi()

# Import Utilities
import xarray as xr

The error I got.
400

How to solve it or how to get that .datacube.conf for the constructor of DataAccessApi class?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.