Giter Site home page Giter Site logo

hpscil / custarfm Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 34.0 8.17 MB

cuSTARFM is a GPU-enabled Spatial and Temporal Adaptive Reflectance Fusion Model (STARFM)

License: GNU General Public License v3.0

C 3.57% C++ 44.37% Cuda 52.06%
image-fusion landsat modis remote-sensing starfm

custarfm's People

Contributors

gaohuancug avatar gisers avatar sonicben avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

custarfm's Issues

core dumped when running it under Linux

Hi,

I compiled this binary under Ubuntu Linux 14.04, nVidia Xp, but it crashed when I ran it by './cuSTARFM parameters_exmaple.txt' (after changing the location of the files). I got:

�����ļ�Ӧ����STARFM_PARAMETER_END��β
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)

Thanks!

Codes, DELETE?

Hi, I would like to know if cuSTARFM is still working?

In file 'cuSTARFM_util.cpp' fopen_s, strtok_s and sscanf_s function error.

please help me out, I have installed gcc/g++ compiler on ubuntu 18.04, installed gdal and other dependencies.
but when I run :

nvcc -o cuSTARFM kernel.cu cuLayer.cpp cuSTARFM_util.cpp fusion.cpp -lgdal

Ends_up with following error:

cuSTARFM_util.cpp:36:27: error: ‘fopen_s’ was not declared in this scope if((fopen_s(&in,fname,"r"))!=0) ^ cuSTARFM_util.cpp:41:32: error: ‘fscanf_s’ was not declared in this scope fscanf_s(in, "%s", buffer,1000); ^ cuSTARFM_util.cpp:61:47: error: ‘strtok_s’ was not declared in this scope tokenptr = strtok_s(buffer, separator,&token); ^ cuSTARFM_util.cpp:79:43: error: ‘sscanf_s’ was not declared in this scope sscanf_s(tokenptr, "%s",par->G_Type,50); ^ cuSTARFM_util.cpp:85:43: error: ‘sscanf_s’ was not declared in this scope sscanf_s(tokenptr, "%s",readpath,1000); ^ cuSTARFM_util.cpp:92:44: error: ‘sscanf_s’ was not declared in this scope sscanf_s(tokenptr, "%s", readpath,1000); ^ cuSTARFM_util.cpp:101:44: error: ‘sscanf_s’ was not declared in this scope sscanf_s(tokenptr, "%s", readpath,1000); ^ cuSTARFM_util.cpp:119:75: error: ‘sscanf_s’ was not declared in this scope sscanf_s(tokenptr, "%s", psensor[2*(par->NUM_PAIRS+k)+1].outpath,1000);

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.