Giter VIP home page Giter VIP logo

Comments (18)

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

I'm running the latest version, and I don't see this issue. This was, however, a problem in an older commit when I had not yet set the paths correctly.

The file is present in the repo;
https://github.com/CliMT/climt/tree/develop/climt/_data

so if you have installed climt by cloning the repository, you should not see this.

from climt.

Strong-Curious avatar Strong-Curious commented on August 16, 2024

I'm trying to use Google Colaborator for using CliMT, and I can't clone it remotely. Is there any chance that the pip install command will download the file to the right place?

Thank you

from climt.

mcgibbon avatar mcgibbon commented on August 16, 2024

There are currently no files in the _data directory of the pypi distribution of CliMT. I'm guessing they should be there.

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

Oh, I see. sucks that the release has this issue, but a new release will be out by the end of the month.

In the meantime, if you can pip install, that means you have write permissions on that folder. could you just copy the file from the link above after you install?

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

There are some bug fixes and enhancements to the RRTMG wrapper since that release. I suggest you keep a watch out and upgrade as soon as the new release is out.

from climt.

mcgibbon avatar mcgibbon commented on August 16, 2024

You can use pip to install directly from GitHub. I think the following line should work:

pip install git+git://github.com/CliMT/climt.git#egg=climt

This may not install dependencies, so you may need to install those manually (using pip) when using pip to install the git repository

from climt.

mcgibbon avatar mcgibbon commented on August 16, 2024

If you would like to install from the last tagged package version, you would do

pip install git+git://github.com/CliMT/[email protected]#egg=climt

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

Thanks, @mcgibbon!

from climt.

Strong-Curious avatar Strong-Curious commented on August 16, 2024

I've tried using the pip install git+git://github.com/CliMT/[email protected]#egg=climt but the ozon_profile file is still missing. Any chance to change the regular pip install to include the file?

The colaborator doe not have writing permissions, only pip installations.

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

@Strong-Curious , using the @v0.9.1 tag in the URL installs the version that does not have the ozone file. Using the previous URL that @mcgibbon showed should install the latest version.

http://codeinthehole.com/tips/using-pip-and-requirementstxt-to-install-from-the-head-of-a-github-branch/

from climt.

Strong-Curious avatar Strong-Curious commented on August 16, 2024

When I run:

pip install git+git://github.com/CliMT/climt.git#egg=climt

I get:

Requirement already satisfied: climt from git+git://github.com/CliMT/climt.git#egg=climt in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: cython>=0.25 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: numpy>=1.10 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: pint>=0.7.0 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: sympl>=0.2.1 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: scipy>=0.18.1 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: xarray>=0.8.0 in /usr/local/lib/python3.6/dist-packages (from climt)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from sympl>=0.2.1->climt)
Requirement already satisfied: pandas>=0.18.0 in /usr/local/lib/python3.6/dist-packages (from xarray>=0.8.0->climt)
Requirement already satisfied: python-dateutil>=2 in /usr/local/lib/python3.6/dist-packages (from pandas>=0.18.0->xarray>=0.8.0->climt)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.6/dist-packages (from pandas>=0.18.0->xarray>=0.8.0->climt)

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

How about either of

pip install -I git+git://github.com/CliMT/climt.git#egg=climt
pip install --ignore-installed git+git://github.com/CliMT/climt.git#egg=climt

from climt.

mcgibbon avatar mcgibbon commented on August 16, 2024

@JoyMonteiro, the v0.9.1 tag does have the ozone file. Something went wrong when you uploaded the dist.

If it's saying it's already installed, you could first do pip uninstall climt.

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

@mcgibbon, yes, I recall that the manifest file climt/MANIFEST.in was incorrect. So, sdist did not pull all the required files during upload.

from climt.

mcgibbon avatar mcgibbon commented on August 16, 2024

Good that you've identified and fixed the problem for future releases :)

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

@Strong-Curious, I tested installing climt on the colaboratory. You will need the following commands
to get it to work:

pip install --ignore-installed git+git://github.com/CliMT/climt.git@develop#egg=climt

pip install --ignore-installed git+git://github.com/mcgibbon/sympl.git#egg=sympl

You will need them to run in this order. The new version of climt
requires some code that only exists in the github version of sympl.

from climt.

Strong-Curious avatar Strong-Curious commented on August 16, 2024

Thank you very much !! !! !!

from climt.

JoyMonteiro avatar JoyMonteiro commented on August 16, 2024

Welcome :)

from climt.

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.