Giter Site home page Giter Site logo

Comments (8)

pilotchute avatar pilotchute commented on July 27, 2024

@ipisso the conflict is between python 2.7 and geocat-comp which requires python 3.6 or higher.

make a conda environment with python 3.7, and install geocat-comp in that environment.

conda create --name geocat-conda python=3.7
conda activate geocat-conda
conda install geocat-comp

from geocat.

clyne avatar clyne commented on July 27, 2024

@pilotchute do we need to update our documentation to reflect the python 3.x requirement?

from geocat.

ipisso avatar ipisso commented on July 27, 2024

Thank you for the help. I think I needed the ncar channel (-c ncar?).

Now I am running the example from

https://geocat-comp.readthedocs.io/en/latest/examples.html#geocat-comp-linint2-points-example

I get an the error in line 22:

newsst = geocat.comp.linint2(sst, newlon, newlat, False)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'geocat.comp' has no attribute 'linint2'

If I ask

dir(geocat.comp)
['AttributeError', 'ChunkError', 'CoordinateError', 'DimensionError', 'Error', 'Iterable', 'MetaError', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'version', 'da', 'detrend', 'map_blocks', 'ndpolyfit', 'ndpolyval', 'np', 'polynomial', 'version', 'xr']

python doesn't find
"linint2"

from geocat.

erogluorhan avatar erogluorhan commented on July 27, 2024

Thank you for the help. I think I needed the ncar channel (-c ncar?).

That's correct. Can we assume you ran this code and successfully set up your environment then?

Now I am running the example from

https://geocat-comp.readthedocs.io/en/latest/examples.html#geocat-comp-linint2-points-example

I get an the error in line 22:

newsst = geocat.comp.linint2(sst, newlon, newlat, False)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'geocat.comp' has no attribute 'linint2'

You are trying to run mpl_linint2.py example script, right? What is the active conda environment when you are running this code? Can you provide the output of conda list for that active conda environment please?

from geocat.

pilotchute avatar pilotchute commented on July 27, 2024

@ipisso checking in, has your status changed? I'll be closing this support request as stale in a week pending your reply.

from geocat.

ipisso avatar ipisso commented on July 27, 2024

I will look at it again now.

from geocat.

erogluorhan avatar erogluorhan commented on July 27, 2024

Hi @ipisso , any updates?

from geocat.

pilotchute avatar pilotchute commented on July 27, 2024

Closing due to lack of response.

from geocat.

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.