Giter Club home page Giter Club logo

Comments (7)

sit23 avatar sit23 commented on September 21, 2024

Hi @mcthreems - thanks for your question. The Socrates source code is not packaged within Isca, as the code belongs to the UK Met Office, and they didn't want us releasing their code on GitHub. The source code is, however, freely available from the Met Office. All the details on where to download it, install it etc are provided in the Socrates test-case Readme, which is here:
https://github.com/ExeClim/Isca/tree/master/exp/test_cases/socrates_test
Let me know if you have problems downloading it, or if it still doesn't work once you have.
Thanks, Stephen

from isca.

mcthreems avatar mcthreems commented on September 21, 2024

I have the socrates source code, my confusion was that this file does not appear to be in the socrates source code that I downloaded via the instructions provided.

from isca.

sit23 avatar sit23 commented on September 21, 2024

Apologies - 99% of the problems we've had with people running the socrates test case is because they haven't downloaded the socrates source code, which is why I made that assumption. This is almost certainly because of the different versions of socrates that we have. However I've tried removing those two files from the path_names file here:
https://github.com/ExeClim/Isca/blob/master/src/extra/model/socrates/path_names#L486
and that does not change the results of the simulation. I don't think we're using those files, so you're fine to take them out. If you find that other files are missing from your install, do let me know and we can look at updating the path_names file accordingly.

from isca.

mcthreems avatar mcthreems commented on September 21, 2024

OK, it makes sense if we're using different versions of socrates. There were indeed other files missing, so I went through my version of socrates to pull out the file names I had and made a new version of the path names file for my install. I've attached a file listing all of my socrates file paths I used in my path_names file. Once I did this the test case began to compile, but I did run into another issue later during compiling. I think I will make a separate issue post for that though, since it seems unrelated.
soc_file_paths.txt

from isca.

sit23 avatar sit23 commented on September 21, 2024

OK - once we've got your version all compiled (as discussed in #94) then I'll look to update the pathnames file to account for the files you were missing.

from isca.

sit23 avatar sit23 commented on September 21, 2024

OK - so the main problem in this particular issue is that different socrates versions will occasionally add / delete files compared with previous versions, so our static path_names file will need updating depending on what socrates version is being used. An enhancement is therefore suggested that the path_names file for socrates be dynamically generated. This is something we'll look to do in the future.

from isca.

sit23 avatar sit23 commented on September 21, 2024

This will probably be a while before it can be done, so for now, I will update the Socrates README.md file to include instructions to this effect.

from isca.

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.