Git Product home page Git Product logo

Comments (4)

yosukefk avatar yosukefk commented on August 11, 2024

Actually yosuke try learn more about kartoza docker https://github.com/kartoza/docker-postgis#tutorial, see if there is a canonical way to manage the database... Once i got something to try, i will ask max to test, or better yet i have my own small linux machine to test it out

from finn_preproc.

yosukefk avatar yosukefk commented on August 11, 2024

@mbjoseph , Could you follow four steps below, and what you get for item 2 and 4?

  1. Use the container created in Issue #15, run main_testOTS_092018.ipynb It should run very quick, there are only 1000 or so points, and downloader will look for only tiles needed for the data, not the entire globe.
  2. See if you get out_modlct_2017_modvcf_2017_regnum.csv with 800+ records. That means run was successful. If not let me know
  3. hold onto $HOME/postgres_data , but delete the container. Create new container, again using -v $HOME/postgres_data:/var/lib/postgresql
  4. run !psql -c 'select count(*) from "af_testOTS_092018".out_modlct_2017_modvcf_2017_regnum;'. It should report 816 as count.

from finn_preproc.

mbjoseph avatar mbjoseph commented on August 11, 2024

Hi @yosukefk - I'm running into some issues early in that notebook that are unrelated:

  1. In the first cell, I'm getting ModuleNotFoundErrors for rst_import_lct and rst_import_vcf. I've commented these out, as it looks like you've merged the modules into rst_import.py.

  2. I'm getting an assertion error for the call to unzip, because I do not have the DL_FIRE_M6_23960.zip file. Could you send that to me, download it from the notebook, or let me know how I can get it (maybe through FIRMS?).

from finn_preproc.

yosukefk avatar yosukefk commented on August 11, 2024

@mbjoseph , sorry i overlooked your post. DL_FIRE*.zip file is included in the repository now. And yes, rst_import.py replaced two very similar python file. So please test out again with testOTS_092018 case, and work on test reusing bind-mounted database directory. Thanks!

from finn_preproc.

Related Issues (20)

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.