[ncl-talk] Proj4 function

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Tue Jan 21 08:15:09 MST 2020


Hi all,

I'm trying to use the proj4 function to spatialize some ascii data.
The data refer to a variable for each lat and lon points
However, I am not able to create the NetCDF of some files (for example, January files - Killed message), I believe that the number of lat and lon are very large
And the proj4 function returns the lat and lon values in meters, I needed in decimal degrees. How could I convert?
Another question, I was wondering if it is possible to make this projection (spatialization of these data) in the same resolution as another data in netcdf (spatial reference) and using a shapefile for a more specific region?
transform_coordinate(srcProj, dstProj, lons, lats, elevs) because on here lons and lats refers to ascii data

I attached the data and my script for a better view of what I'm trying to do.

Thanks for the support



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-01-04.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-01-03.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0007.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-01-02.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-01-01.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-12-09.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r_2015-12-08.txt
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0011.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncl_proj_time_one.ncl
Type: application/octet-stream
Size: 4440 bytes
Desc: ncl_proj_time_one.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200121/d95c3d98/attachment-0001.obj>


More information about the ncl-talk mailing list