[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #MTH-829107]: Geotiff to NetCDF



Ok, then I would define the netcdf metadata as you did, namely:
-------------
netcdf Geotiff {
dimensions:
time=UNLIMITED;
rgb = 3;
lon = 4886;
lat = 5462;
variables:
image(time,lon, lat, rgb);
}
-----------
Is the problem that the values of lat and lon in Geotiff defined
as degrees (are they?).

> time shoud be a variable to store the date when the netCDF is created, at the 
> beginning I used None, but in fact it is not important for me, not at the 
> moment. I used None, for now, becouse I just need to save a Netcdf with the 
> format (time,lon,lat,rgb). What it is important to me is save RGB value 
> correspondent to a lon/lat. I am using netcdf4/python.
> 
> Regards,
> Rosana
> ________________________________
> De: Unidata netCDF Support <address@hidden>
> Enviado: terça-feira, 11 de setembro de 2018 10:13
> Para: address@hidden
> Cc: address@hidden
> Assunto: [netCDF #MTH-829107]: Geotiff to NetCDF
> 
> I am going to need some more info.
> First, what is the meaning of None in time = None?
> 
> > Full Name: Rosana Ribeiro
> > Email Address: address@hidden
> > Organization: ufba
> > Package Version:
> > Operating System:
> > Hardware:
> > Description of problem: I have tried to convert a Geotiff into a NetCDF and 
> > I need to define variables as:
> > dimensions:
> > time = None;
> > rgb = 3;
> > lon = 4886;
> > lat = 5462;
> > variables:
> > image(time,lon, lat, rgb);
> > I am having difficult to define a rgb value to a correspondent lon/lat 
> > values in Netcdf format. How can I do this?
> >
> >
> 
> =Dennis Heimbigner
> Unidata
> 
> 
> Ticket Details
> ===================
> Ticket ID: MTH-829107
> Department: Support netCDF
> Priority: Normal
> Status: Open
> ===================
> NOTE: All email exchanges with Unidata User Support are recorded in the 
> Unidata inquiry tracking system and then made publicly available through the 
> web.  If you do not want to have your interactions made available in this 
> way, you must let us know in each email you send to us.
> 
> 
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: MTH-829107
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.