Polot severa figures inside a for loopin

2022-10-08 Thread "Jorge Conrado Conforte"
HI, I already use the IDL to plot data. Inside a for looping I plot and save my data and kill the window using the wdelete IDL command for close the window automatically. Now I'm using the Python to rea several netcdf 2d data. I plot my data and save it. But, I don't know how can I kill

Gdal

2022-10-07 Thread "Jorge Conrado Conforte"
Hi, I installed GDAL using the pip command and conda. But, I did: import gdal and I had: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'gdal' I need gdal to remap some data. Please, help me Conrado --

xarry netcdf message

2022-08-23 Thread Jorge Conrado Conforte Conforte
Hi, I'm reading my netcdf data air.2m.mon.ltm.nc. I used the netcdf4 and I didn't have message when i read my data. But if I use the xarray I had this message: /home/conrado/.conda/envs/meuambi/lib/python3.8/site-packages/xarray/backends/plugins.py:61: RuntimeWarning: Engine 'cfgrib' loading

Python LSTM forecast future values for time series

2022-02-10 Thread Jorge Conforte
HI, I'm starting run the LSTM to forecast future values for time serie data. please can someone give me some information on how i can predict future values ​​for my time series using LSTM. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

NUmpy

2021-09-29 Thread Jorge Conforte
Hi, I have a netcdf file "uwnd_850_1981.nc" and I'm using the commands to read it: from numpy import dtype  fileu ='uwnd_850_1981.nc' ncu = Dataset(fileu,'r') uwnd=ncu.variables['uwnd'][:] and I had: :1: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To

[issue45032] struct.unpack() returns NaN

2021-08-27 Thread Jorge Rojas
New submission from Jorge Rojas : Hi all! I have this case when trying to get a float value applying pack to these integer values: struct.unpack('f', struct.pack('HH', 0, 32704)) This happens when executing the unpack function to a float format, from a bit-array where the sign bit

Xarray smoothing data

2021-07-02 Thread Jorge Conforte
Hi, I'm using xarray to read and plot my netcdf data. Please someone could help me, dow can I smooth my data before to plot i. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

Plot maps in 3D

2021-04-28 Thread Jorge Conforte
Hi, I would like know if it is posible to plot the south in north poles in 3D earth maps. I search in google and always all examples is for cylindric projection, like this: bm = Basemap(llcrnrlon=extent[0], llcrnrlat=extent[2], urcrnrlon=extent[1], urcrnrlat=extent[3],

TIME IN XARRAY

2021-04-15 Thread Jorge Conforte
Hi, I'm using xarray to read netcdf data and I had to time in my data the values: xarray.DataArray 'time' (time: 507)> array(['1979-01-01T00:00:00.0', '1979-02-01T00:00:00.0',    '1979-03-01T00:00:00.0', ..., '2021-01-01T00:00:00.0',   

[issue42173] Drop Solaris support

2020-10-30 Thread Jorge Schrauwen
Jorge Schrauwen added the comment: I'm an illumos user too, mostly SmartOS and some OmniOS. I'm a heavy user of salt and thus phyton too, slowly prepping to get my stuff moved from 2.7 to 3.8 atm. As mentioned above parts of the illumos build also use python and are moving to wads 3.9

Python dependences

2020-04-21 Thread jorge . conforte
Hi, I've already used the python list to clear up some doubts. It's been about a year since I started using Python in my projects and I still have some doubts. For those who have always used IDL, this change is a little difficult. I already have Ptyhon 3.8 installed, on Linux. To clear up any

Window and position of figure

2020-04-04 Thread jorge . conforte
Hi, I already use the IDL software. Now I`m using Python. In IDL I havethe vector position=(xo,yo,x1,y1) to set where Iwnat to plot my figure in my window. I have an 2d array with x and y dimensition equal 5224. when I plot my figure, using contourtf it takes up a small part of my window.

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: Maybe I can find the time to make a patch this weekend (either today or tomorrow). I hope I'm not underestimating this somehow, but I don't think this would take too long. The only issue I can foresee is in disagreement of what the correct behavior

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: > to remove the "--" present in arg_strings *to remove the first "--" present... -- ___ Python tracker <https://

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: > There are earlier bug/issues about the '--'. Yes, there are: https://bugs.python.org/issue9571 https://bugs.python.org/issue3 https://bugs.python.org/issue14364 But this one seems separate. Though they're related, they don't seem like duplica

[issue37510] argparse removing more "--" than it should

2019-07-05 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: To be clear, my opinion is that a single call of parse_args() should only ever remove the first "--". Right now, it seems that it removes the first of each argument group, as determined by narg

[issue37510] argparse removing more "--" than it should

2019-07-05 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: Sorry, I forgot to add details on my machine. Python: 3.7.3 OS: Archlinux -- ___ Python tracker <https://bugs.python.org/issue37

[issue37510] argparse removing more "--" than it should

2019-07-05 Thread Jorge L. Martinez
New submission from Jorge L. Martinez : $ python -c ' import argparse p = argparse.ArgumentParser() p.add_argument("first_arg") p.add_argument("args", nargs="*") r = p.parse_args(["foo", "--", "bar", "--

How to create a RGB color Table

2019-06-17 Thread Jorge Conrado Conforte
HI, Please someone could help me. How can I create a new color table with the values of r g and b that I have. I use the Mataplolib color tables. However, I would like to use a new color table with the respective r g b values that I have. Thank you.

Re: PyCharm installation

2019-05-19 Thread Jorge Gimeno
> > I am unable to install PyCharm. > -- > https://mail.python.org/mailman/listinfo/python-list Without the error message there isn't much we can do. Can you please copy and paste the error message? -Jorge > > -- https://mail.python.org/mailman/listinfo/python-list

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-18 Thread Jorge Ramos
Jorge Ramos added the comment: Mmm, I don't find that option documented in the readme of the MSI folder nor in the help for buildrelease.bat (and also is not intuitive, what does IIRC stand for?), nevertheless: It should be no problem if this PR doesn't pass but it should help newcomers

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2019-01-18 Thread Jorge Ramos
Jorge Ramos added the comment: I want to document a workaround if anyone benefits from it, this would be step 7: 7) This error goes away if you remove the pyconfig.h from the include directory before the tests end (and of course, after the test distutils). This is only a workaround

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos
Change by Jorge Ramos : -- keywords: +patch, patch, patch pull_requests: +11193, 11194, 11195 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos
Change by Jorge Ramos : -- keywords: +patch, patch pull_requests: +11193, 11194 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos
Change by Jorge Ramos : -- keywords: +patch pull_requests: +11193 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35739> ___ ___ Py

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos
New submission from Jorge Ramos : It would be interesting to allow regrtests to output to command line during testing with PGO enabled. The default behavior is to not display output unless some fatal error occurs ("quiet" mode). Making this issue to create a pu

[issue35693] test_httpservers fails

2019-01-13 Thread Jorge Ramos
Jorge Ramos added the comment: E:\RepoGiT\3.7>"E:\RepoGiT\3.7\PCbuild\amd64\python.exe" -u -Wd -E -bb -m test -v test_httpservers == CPython 3.7.2+ (heads/3.7:e1259886ab, Jan 13 2019, 19:16:24) [MSC v.1916 64 bit (AMD64)] == Windows-10-10.0.17763-SP0 little-endian == cwd: E

[issue35693] test_httpservers fails

2019-01-12 Thread Jorge Ramos
Jorge Ramos added the comment: the output is stored on the file run.txt above -- ___ Python tracker <https://bugs.python.org/issue35693> ___ ___ Python-bug

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2019-01-10 Thread Jorge Ramos
Change by Jorge Ramos : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35157> ___ ___ Python-bugs-list

[issue35156] Consider revising documentation on Python Builds from source

2019-01-10 Thread Jorge Ramos
Change by Jorge Ramos : -- stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35156> ___ ___ Pyth

[issue35399] Sysconfig bug

2019-01-10 Thread Jorge Ramos
Change by Jorge Ramos : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35399> ___ ___ Python-bugs-list

[issue35400] PGOMGR : warning PG0188:

2019-01-10 Thread Jorge Ramos
Change by Jorge Ramos : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35400> ___ ___ Python-bugs-list

[issue35693] test_httpservers fails

2019-01-10 Thread Jorge Ramos
Change by Jorge Ramos : -- stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35693> ___ ___ Pyth

[issue35693] test_httpservers fails

2019-01-10 Thread Jorge Ramos
Jorge Ramos added the comment: It is true that I worry about failing tests during PGO training because they stop me from compiling Python -with- PGO. I also got here to report my experience and problems back to you guys but, if the problems are known, well, there's nothing much I can do

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: Thanks! About the alternate set of training data, how (where) do I find it? and about the layouts, can you point me in the right direction as to learn about them, into what they do? or try to achieve? and how to use them? Quoting Steve Dower ( https

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: I have realized that results from rt.bat differ from those when running buildrelease.bat (see example below) Why do the tests run OK in rt.bat but fail in buildrelase.bat? To my best understanding, the tests are summoned directly via rt.bat but also from

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Change by Jorge Ramos : -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue35693> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: Ok, thank you. Here are my findings: steps taken: 1) download today's version of 3.7.2 and 3.8.0 alpha 0 2) navigate to tools/msi 3) run build.bat -x64 (to create amd64 folder under pcbuild) 4) navigate to pcbuild 5) run rt.bat -x64 -v test_httpservers results

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: The thread doesn't display the attachment icon in bugtracker webpage, so I will copy the output here: E:\RepoGiT\3.6>PCbuild\rt.bat -x64 -v test_httpservers Deleting .pyc files ... 0 .pyc deleted Cleaning _pth files ... E:\RepoGiT\3.6>"E:\RepoGiT\

[issue35693] test_httpservers fails

2019-01-08 Thread Jorge Ramos
Jorge Ramos added the comment: The test failed, the results on attached file! -- Added file: https://bugs.python.org/file48037/failed.txt ___ Python tracker <https://bugs.python.org/issue35

[issue35693] test_httpservers fails

2019-01-08 Thread Jorge Ramos
Jorge Ramos added the comment: Got it, i'll get back with the results -- ___ Python tracker <https://bugs.python.org/issue35693> ___ ___ Python-bugs-list mailin

[issue35695] missing attributes

2019-01-08 Thread Jorge Ramos
Jorge Ramos added the comment: Got it, maybe the warnings should be more explanatory, like this one: 0:06:17 [219/407/1] test_multiprocessing_fork test_multiprocessing_fork skipped -- fork is not available on Windows 0:06:17 [220/407/1] test_multiprocessing_forkserver

[issue35694] missing modules on test suite

2019-01-08 Thread Jorge Ramos
Jorge Ramos added the comment: Got it (y) -- ___ Python tracker <https://bugs.python.org/issue35694> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35695] missing attributes

2019-01-08 Thread Jorge Ramos
New submission from Jorge Ramos : while running : 0:04:26 [136/407] test_fork1 test_fork1 skipped -- object has no attribute 'fork' 0:11:56 [384/407/1] test_wait4 -- test_wait3 skipped test_wait4 skipped -- object has no attribute 'fork' see attached file -- components: Tests

[issue35694] missing modules on test suite

2019-01-08 Thread Jorge Ramos
New submission from Jorge Ramos : when running some tests where skipped due to missing modules: 0:02:52 [ 86/407] test_crypt test_crypt skipped -- No module named '_crypt' 0:02:55 [ 93/407] test_dbm_gnu test_dbm_gnu skipped -- No module named '_gdbm' 0:02:55 [ 94/407] test_dbm_ndbm

[issue35693] test_httpservers fails

2019-01-08 Thread Jorge Ramos
New submission from Jorge Ramos : when running test_httpservers fails: 0:04:53 [171/407] test_httpservers E:\RepoGiT\3.6\lib\socket.py:144: ResourceWarning: unclosed _socket.socket.__init__(self, family, type, proto, fileno) E:\RepoGiT\3.6\lib\test\support\__init__.py:1542

[issue30170] "tests may fail, unable to create temporary directory" warning on buildbot: add a cleanup step to buildbots

2019-01-07 Thread Jorge Ramos
Jorge Ramos added the comment: May I add that this directory exists, maybe before this run tried to create it and hence not being able to do it as the first post suggested? -- ___ Python tracker <https://bugs.python.org/issue30

[issue30170] "tests may fail, unable to create temporary directory" warning on buildbot: add a cleanup step to buildbots

2019-01-07 Thread Jorge Ramos
Jorge Ramos added the comment: I got this error trying to build Python 3.6.7, why is this closed? Running PGInstrument|x64 interpreter... E:\RepoGiT\3.6\lib\test\support\__init__.py:1029: RuntimeWarning: tests may fail, unable to create temp dir: D:\Users\yorch\AppData\Local\Temp

[issue35672] Error on divide

2019-01-06 Thread Jorge Teran
Jorge Teran added the comment: Thanks El dom., 6 de ene. de 2019 08:53, Yash Aggarwal escribió: > > Yash Aggarwal added the comment: > > @Jorge Teran > The division operator was changed in python 3. Now, if you use '/' for > division between ints, the result would stil

[issue35672] Error on divide

2019-01-06 Thread Jorge Teran
New submission from Jorge Teran : The following code produces an error in the diivision in python 3.5, 3.7 works in python 2.7 import math import sys x=int(1000112004278059472142857) y1=int(103) y2=int(133) y3=int(137) y4=int(139) print (int(y1y2y3y4)) print (x) #this product

[issue35399] Sysconfig bug

2018-12-03 Thread Jorge Ramos
Change by Jorge Ramos : -- components: +Build ___ Python tracker <https://bugs.python.org/issue35399> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35400] PGOMGR : warning PG0188:

2018-12-03 Thread Jorge Ramos
New submission from Jorge Ramos : The following command: Tools\msi\buildrelease.bat -x64 is used to build a 64 bit version (on win_10_64) of python (using visual studio 2017). The following modules did not build correctly because, presumably, the corresponding .PGC files could

[issue35399] Sysconfig bug

2018-12-03 Thread Jorge Ramos
New submission from Jorge Ramos : As can be seen in the file, the sysconfig test fails when profiling (PGO) this utility. This is the very same bug as described in issue#35299 https://bugs.python.org/issue35299 but in distutils. The problem is that when the test for sysconfig runs, it does

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2018-11-22 Thread Jorge Ramos
New submission from Jorge Ramos : Build of Python 3.6.7 fails with error "LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found" I am using Windows 10 64bit. Steps to reproduce this error: 1) Install Visual Studio 2017 (With the python development and native dev tools) (I

[issue35253] Linker warning LNK4281

2018-11-15 Thread Jorge Ramos
Jorge Ramos added the comment: Ok, thanks! If it helps, here are all the modules that gave me that suggestion: pythoncore.vcxproj _testbuffer.vcxproj _testcapi.vcxproj _testimportmultiple.vcxproj select.vcxproj _overlapped.vcxproj _elementtree.vcxproj _decimal.vcxproj unicodedata.vcxproj

[issue35253] Linker warning LNK4281

2018-11-14 Thread Jorge Ramos
New submission from Jorge Ramos : When building python 3.6.7 x64 from source I get multiple warnings: LINK : LNK4281 - "undesirable base address 0x1D11 for x64 image; set base address above 4GB for best ASLR optimiz

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Although I appreciate the confidence placed in me, I think I'm not exactly the most competent person to make changes to such an important project. I know what -probably- could be improved (from my very narrow point of view) but I don't even know where or how

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Yes, my last message is a trimmed version of my next to last message (which itself is a trimmed version of all the verbose of the build, showing just after the PGO interpreter wakes up). Although, obviously they where run at different times (one run completed

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: One more thing: point in case #6 does credit a revision IMO. The build_pgo.bat file does not exist. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Thank you, I think that will suffice. At least guide folks like myself who want to build from source and with optimizations in the right direction (on which folder to work on and which commands to issue to the terminal) Please keep me posted

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Hi: Hmm.. but the installation does fail ("PGO run did not succeed (no python36!*.pgc files) and there is no data to merge"): * Total duration: 35 min 2 sec Tests result:

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-04 Thread Jorge Ramos
Jorge Ramos added the comment: Hello: I followed the same command: PCBuild\build.bat -d -p x64 -r --pgo and in summary, it found 5 errors (the last part of this messages contains the PGInstrument|x64 interpreter verbose). I include a number between parenthesis to show the test number

[issue33834] test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving() of ProactorEventLoop logs InvalidStateError error

2018-11-03 Thread Jorge Ramos
Jorge Ramos added the comment: While building 3.6.7. Path set to 3.6.7 working directory Running PGInstrument|x64 interpreter... Run tests sequentially Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>) handle: )> Traceback (most recent

[issue35157] Missing pyconfig.h when building from source

2018-11-03 Thread Jorge Ramos
New submission from Jorge Ramos : When testing the builds when PGO is enabled, or by simply running rt.bat, the following error is (always) issued: cpython\include\Python.h(8): fatal error C1083: Cannot include: 'pyconfig.h': No such file or directory One example of steps taken is: git

[issue35156] Consider revising documentation on Python Builds from source

2018-11-03 Thread Jorge Ramos
New submission from Jorge Ramos : I want to build from source a 3.6 Python, using PGO for windows. Followed instructions at https://devguide.python.org/setup/ (the original search from google was "build python from source windows"). From a newbie perspective there are several pr

ImportError: libpoppler.so.76

2018-08-08 Thread jorge . conrado
Hi, I downloade an example from: http://basemaptutorial.readthedocs.io/en/latest/clip.html from mpl_toolkits.basemap import Basemap from matplotlib.path import Path from matplotlib.patches import PathPatch import matplotlib.pyplot as plt from osgeo import gdal import numpy import

Python 2.7.14 and Python 3.6.0 netcdf4

2018-07-23 Thread jorge . conrado
Hi, Please someone can help me with this error message; for Python 2.7.14 I did: from netCDF4 import Dataset and I didn't have no message But, for Python 3.6.0 from netCDF4 import Dataset I had: Traceback (most recent call last):

Re: version

2018-05-31 Thread Jorge Gimeno
Look at the six module On Thu, May 31, 2018, 7:57 PM Mike McClain wrote: > OK so I installed python 3.2, which is the latest available as a > package in Debian Wheezy, because I've seen so many folks say it's a > waste of time to play with Py2.7. > Immediately my python playground

Masking using shapefiles

2018-05-02 Thread jorge . conrado
Hi, I'm trying to make a mask using a shapefile of Brazil using the examplE: http://basemaptutorial.readthedocs.io/en/latest/clip.html I run my script and I had the messages: Traceback (most recent call last): File "mascarapy2.py", line 7, in from osgeo import gdal File

www.python.org down

2018-04-30 Thread Jorge Gimeno
Not sure who to report to, but the site comes back with a 503. Anyone know where I can direct this to? -Jorge L. Gimeno -- https://mail.python.org/mailman/listinfo/python-list

netcdf 4 error

2018-03-29 Thread jorge . conrado
Hi, Here are some information of my netcdf4 data: NetCDF dimension information: Name: lon size: 4320 type: dtype('float64') Name: lat size: 2160 type: dtype('float64') Name: time size: 12

Read satellite images

2018-01-24 Thread jorge . conrado
Hi, I have some gridded 4Km satellite images. I don't have experience with Python. The size of my image is (9896,3298) and I use this to read f = open('merg_2018011100_4km-pixel', "r") # reopen the file x = f.read() print (x[0]) I have this value for x = � This is the information for

close figure after plot

2018-01-22 Thread jorge . conrado
Hi, I have several satellite data (500 images). I read it and plot using plt.show(). I would like know how can I delete the window after I save the image. I use plt.close(), plt.close('all') but these options didn't work. Thanks, Conrado --

Plot map wit a white and black box

2018-01-08 Thread jorge . conrado
Hi, Please, I woudl like to plot a map like this figure. How can I do this using Python2.7 Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

Python goto

2017-12-28 Thread jorge . conrado
Hi, I would like to know if there is a goto command or something similar that I can use in Python. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

plot map wit box axes

2017-12-22 Thread jorge . conrado
Hi, I use the PYTHON and IDL. In IDL I can plot a grid map like a this figure (mapa.png). Please, I would like know how can I plot my figure using PYTHON with the box around the figure. Like this that I plot using the IDL. Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: exception should not stop program.

2017-10-07 Thread Jorge Gimeno
condition are you looking to handle here? -Jorge On Sat, Oct 7, 2017 at 9:38 AM, Prabu T.S. <prabu...@gmail.com> wrote: > I would like to continue to second function invocation > "checkServiceStatus('AdobeARMservice')" even if the first >checkServiceS

Re: newb question about @property

2017-10-03 Thread Jorge Gimeno
. This is no different. You may never need to use a decorator ever in your development career, but the tool is there in case the problem you have can be elegantly solved using one. -Jorge On Tue, Oct 3, 2017 at 8:00 AM, bartc <b...@freeuk.com> wrote: > On 03/10/2017 15:39, Ian Kelly wrote: > >

PYTHON GDAL

2017-07-14 Thread jorge . conrado
Hi, I installed the GDAL 2.2.1 using conda. Then I did: import gdal and I had: Traceback (most recent call last): File "", line 1, in File "/home/conrado/miniconda2/lib/python2.7/site-packages/gdal.py", line 2, in from osgeo.gdal import deprecation_warn File

get value from list using widget

2017-07-05 Thread jorge . conrado
Hi, I would like know dow can I select and get the value from a list of values uisng widgets. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

Mouse position values

2017-06-28 Thread jorge . conrado
Hi, I have 3D data array and would like to plot arbitrary cross section by cliking in my image. I was an IDL user and in IDL we have a cursor.pro that I used to get the X and Y positions on my image. I would like know how can I get the values of the X an Y position for two points (A and B)

plot time on X axis

2017-06-07 Thread jorge . conrado
Hi, I was an IDL user and I'm using Python. I have several meteorological daily time seriee for several years. Please can someone help me. I would like to plot on X axis only the values o the year. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

PYTHON GDAL

2017-05-23 Thread jorge . conrado
Hi, I'm trying to run a script to read and plot an geotiff data. And I use: import gdal and I had: import gdal Traceback (most recent call last): File "", line 1, in File "/home/conrado/miniconda2/lib/python2.7/site-packages/gdal.py", line 2, in from osgeo.gdal import

PYHDF

2017-05-23 Thread jorge . conrado
Hi, I downloade the pyhdf-0.9.0 and install it. Then I did: from pyhdf.SD import SD, SDC and I had: Traceback (most recent call last): File "", line 1, in ImportError: No module named pyhdf.SD I have a script to read and plot MODIS data and it use the from pyhdf.SD import SD, SDC.

PYhton Mercator projection

2017-04-18 Thread jorge . conrado
Hi, I copy the script merc.py from: https://matplotlib.org/basemap/users/merc.html then I did: python merc.py and I had: Segmentation fault Please can someone help me. Conrado -- https://mail.python.org/mailman/listinfo/python-list

write arrays to disk

2017-04-16 Thread jorge . conrado
Hi, I'm new on Python software. I would like to write on disk arrays in binary or ascii format. Can someone please help me? Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list

Mcidas format

2017-04-11 Thread jorge . conrado
Hi, I have some data from the https://ghrc.nsstc.nasa.gov/hydro/search.pl. These data are the Infrared Global Geostationary Composite and the format of this is data is Mcidas. Please anyone know how I can read this data using Python. Thanks, Conrado --

Pillow ImportError: No module named Image

2017-04-10 Thread jorge . conrado
Hi, I installed the Pillow in my computer. The I did: import Image, ImageMath ImportError: No module named Image Please, what can I do to solve this. Conrado -- https://mail.python.org/mailman/listinfo/python-list

Pythos message

2017-03-10 Thread jorge . conrado
Hi, I have a test script netcdf_example.py and I run it. I have my figures on screen. But I had thse two emssages: /usr/lib/python2.7/site-packages/setuptools-18.3.1-py2.7.egg/pkg_resources/__init__.py:1256: UserWarning: /home/conrado/.python-eggs is writable by group/others and

[issue29761] Wrong size of c_ulong in linux, windows version is fine

2017-03-08 Thread Jorge Cisneros
New submission from Jorge Cisneros: In the linux version 2.7.12 the size of c_ulong and c_ulonglong is the same, that is not correct Python 2.7.12 (default, Mar 6 2017, 18:06:04) [GCC 4.9.4] on linux2 Type "help", "copyright", "credits" or "license&quo

Numpy error

2017-01-03 Thread jorge . conrado
Hi, I alredy used Python and now I have the message: import numpy as np Traceback (most recent call last): File "", line 1, in File "/home/conrado/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy-1.8.0-py2.7-linux-x86_64.egg/numpy/__init__.py", line 153, in from .

Fwd: Operator Precedence/Boolean Logic

2016-06-22 Thread Jorge Gimeno
> Thank you for your help! > -- > https://mail.python.org/mailman/listinfo/python-list > You have 2 comparisons here . The first is inside the parenthesis, (False or True) evaluates to True. What remains of the expression is False == True, which is False. -Jorge (Reposted be

RE: licenses

2016-01-11 Thread Martinez, Jorge Alberto (GE Aviation)
Thank you very much for your reply. Best Regards From: Cody Piersall [mailto:cody.piers...@gmail.com] Sent: Sunday, January 10, 2016 1:43 PM To: python-list@python.org Cc: Martinez, Jorge Alberto (GE Aviation) Subject: Re: licenses On Fri, Jan 8, 2016 at 1:41 PM, Martinez, Jorge Alberto (GE

licenses

2016-01-09 Thread Martinez, Jorge Alberto (GE Aviation)
Hello We develop applications here with Python and I want to know if there's issues by using. We use NumPy, PyDaqMx, Py Visa How can we cover this licensing? Regards Jorge Alberto Martinez GE Aviation Systems HW Team Manager GEIQ Power Engineering T +52 442 456 6446 E jorgealberto.marti

geostationary satellite data

2015-12-16 Thread jorge . conrado
Hi, I dowmloaded some data from the Mirador NASA site: http://mirador.gsfc.nasa.gov/cgi-bin/mirador/presentNavigation.pl?tree=project=Global-merged%20IR%20Brightness%20Temperature%20Data=TRMM=Ancillary=001=97f4b9244878c87819b2a1144d31e270 Each data have the dimension: 9896 x 3298 byte.

netcdf 4 time

2015-12-15 Thread jorge . conrado
Hi, I'm reading ndetcdf 4 data from NCEP Reanalyisis project. I use to read the data: air_2010_2014_850hPa_d.nc is four year daily data. mport matplotlib.pylab as plt from netCDF4 import Dataset, num2date, date2index, date2num import pandas as pd from mpl_toolkits.basemap import Basemap

define the area plot

2015-12-07 Thread jorge . conrado
Hi, I'm changing from the IDL to PYTHON. I would like know how can I define the size of the window plot in Python. On IDL I define the size of area plot by: window,1,xsize=1000,ysize=1000 It is possible define the size of the window before my data is plotted. Conrado --

python message

2015-12-02 Thread jorge . conrado
Hi, I'm a new user of Pyhton and I run my code lenetcdf1.py and I plot the figure but I had this message: /usr/lib64/python2.7/site-packages/matplotlib/collections.py:590: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise

4D arrays

2015-12-01 Thread jorge . conrado
Hi, I use the IDL but now I'm change to PYTHON. I have a 4D array (time, level,lon,lat). I would like to get a 2D array for a specific time (time1) and level (level1). In IDL I use: 2Darray = 4Darray(time1,level1,*,*). How can I get the 2D array in Python Conrado --

read 4D binary data

2015-11-26 Thread jorge . conrado
Hi, I'm startig in Python and I have a 4D binary data. The dimension of my data is: 67 > longitude points 41 > latitude points 10 > pressure levels points 33 > time points How can I read this data and what can I do to get a 2D array (longitude,latitude) for a specific

  1   2   3   4   5   >