Coder Social home page Coder Social logo

Comments (7)

GreatEmerald avatar GreatEmerald commented on August 26, 2024

Related to that, if the result is supposed to be a Raster* object, then the package should also require and load the raster package. It doesn't seem to be doing that yet.

from openeo-r-backend.

GreatEmerald avatar GreatEmerald commented on August 26, 2024

When do you expect to implement this? I'm giving a presentation on the current state of openEO to WUR tomorrow, so I'm wondering if I should stick with the current output I have in Jupyter notebook, or wait for a fix to this. It would be pretty sweet to have an actual image.

from openeo-r-backend.

flahn avatar flahn commented on August 26, 2024

I think i can come up with a fix until tomorrow. If I don't manage to do it, then I will notify you.

from openeo-r-backend.

GreatEmerald avatar GreatEmerald commented on August 26, 2024

Great, thanks!

from openeo-r-backend.

flahn avatar flahn commented on August 26, 2024

fix this for #3

from openeo-r-backend.

GreatEmerald avatar GreatEmerald commented on August 26, 2024

It works, thanks!

The only problem is that the result of executeTask() is still raw, so that cannot to coerced into a RasterLayer. It works with a workaround of:

writeBin(Result, "output.tif")
Result = raster("output.tif")

...which is a bit roundabout. I'm not sure if there's a way to coerce the file (which has metadata etc.) into a RasterLayer without going through a file intermediary. Either way there should be at least an option to choose a file to store the data in, since the result can be quite large and not fit into the memory easily.

from openeo-r-backend.

GreatEmerald avatar GreatEmerald commented on August 26, 2024

Ah, I had missed your email, I see the output argument now. Thanks!

from openeo-r-backend.

Related Issues (18)

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.