Hi,
I have an array with precipitation data and other with burned area. I don't
have experience with curve_fit. I read my data and plot the points for each
precipitation and burned area. Then I use:
popt = curve_fit(non_linear_model, preciamz,areaqamz)
and I had:
/home/conrado/FOCOS_2003_2024/NEL
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 the
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
--
https://mail.python.or
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 fail
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.
[https://ipmcdn.avast.com/images/icons/icon
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 s
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):
File
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
"/h
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
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
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
--
https://mail.python.org/mailman/listinfo/python-l
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
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
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
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
"/home/conrado/mi
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
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)
in
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
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 deprecation
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.
Wha
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
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
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
--
https://mail.python.org/mailman/list
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
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
vulnerable
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 . im
Hi,
I dowmloaded some data from the Mirador NASA site:
http://mirador.gsfc.nasa.gov/cgi-bin/mirador/presentNavigation.pl?tree=project&dataset=Global-merged%20IR%20Brightness%20Temperature%20Data&project=TRMM&dataGroup=Ancillary&version=001&CGISESSID=97f4b9244878c87819b2a1144d31e270
Each da
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
im
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
--
https://mail.pyt
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 c
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
--
https://mail.python.or
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 press
Hi,
I have a Python version: Python 2.7.8
I'm runing it on: Fedora release 21
Yesterday I a sent a question:
I'm starting in the Python scripts. I run this script:
import numpy as np
import netCDF4
f = netCDF4.Dataset('uwnd.mon.ltm.nc','r')
f.variables
and I had the message:
netcd
Hi,
I'm starting in the Python scripts. I run this script:
import numpy as np
import netCDF4
f = netCDF4.Dataset('uwnd.mon.ltm.nc','r')
f.variables
and I had the message:
netcdf4.py
Traceback (most recent call last):
File "", line 1, in
NameError: name 'netcdf4' is not defined
Wh
34 matches
Mail list logo