Custom Geometry file for a polar stereografic projection, netcdf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom Geometry file for a polar stereografic projection, netcdf

epifanio
Hi,

I’m tring to read a netcdf file into OSSIM, but unfortunately my file doesn’t have proper georeferenced metadata, the results of ncdump shows the following info :


        int grid_mapping ;
                grid_mapping:grid_mapping_name = "polar_stereographic" ;
                grid_mapping:long_name = "grid mapping" ;
                grid_mapping:scale_factor_at_projection_origin = 0.933012701892219 ;
                grid_mapping:straight_vertical_longitude_from_pole = 58. ;
                grid_mapping:standard_parallel = 60. ;
                grid_mapping:latitude_of_projection_origin = 90. ;
                grid_mapping:false_easting = 2548000. ;
                grid_mapping:false_northing = 3988000. ;
                grid_mapping:semi_major_axis = 6371000. ;
                grid_mapping:semi_minor_axis = 6371000. ;
                grid_mapping:earth_radius = 6371000. ;
                grid_mapping:ellipsoid = "sphere" ;
                grid_mapping:dx = 4000. ;
                grid_mapping:proj4string = "+proj=stere +R=6371000.0 +a=6371000 +b=6371000 +lat_0=90 +lat_ts=60 +lon_0=58 +x_0=3988000 +y_0=2548000" ;


Can you help me in creating a proper .geom file from this ?

attached at this link [ 1 ] there is the original netcdf

[ 1 ]  http://epinux.com/shared/Mean_2009_2011.nc

Thanks!

epi.



------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Custom Geometry file for a polar stereografic projection, netcdf

David Burken
Hi Massimo,

Sorry for the late response.  I don't see any loadState or anything in
the factories to support initialization.  So it looks like the
projection is there but it's never been exercised.  So we'd have to add
some code to handle.  Not sure when I could get to it?  If you can add I
can put it in...

Take care,
Dave

On 10/21/2014 03:09 AM, epi wrote:

> Hi,
>
> I’m tring to read a netcdf file into OSSIM, but unfortunately my file doesn’t have proper georeferenced metadata, the results of ncdump shows the following info :
>
>
> int grid_mapping ;
> grid_mapping:grid_mapping_name = "polar_stereographic" ;
> grid_mapping:long_name = "grid mapping" ;
> grid_mapping:scale_factor_at_projection_origin = 0.933012701892219 ;
> grid_mapping:straight_vertical_longitude_from_pole = 58. ;
> grid_mapping:standard_parallel = 60. ;
> grid_mapping:latitude_of_projection_origin = 90. ;
> grid_mapping:false_easting = 2548000. ;
> grid_mapping:false_northing = 3988000. ;
> grid_mapping:semi_major_axis = 6371000. ;
> grid_mapping:semi_minor_axis = 6371000. ;
> grid_mapping:earth_radius = 6371000. ;
> grid_mapping:ellipsoid = "sphere" ;
> grid_mapping:dx = 4000. ;
> grid_mapping:proj4string = "+proj=stere +R=6371000.0 +a=6371000 +b=6371000 +lat_0=90 +lat_ts=60 +lon_0=58 +x_0=3988000 +y_0=2548000" ;
>
>
> Can you help me in creating a proper .geom file from this ?
>
> attached at this link [ 1 ] there is the original netcdf
>
> [ 1 ]  http://epinux.com/shared/Mean_2009_2011.nc
>
> Thanks!
>
> epi.
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> www.ossim.org
> Ossim-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Custom Geometry file for a polar stereografic projection, netcdf

Garrett Potts-2
Hello all:

We also need to update the PolarStero.... project so we can set the standard parallels, ... etc.   This is on our roadmap to update all projections.  Our current PolarStereo.... doesn't support this.


Take care

Garrett

> On Oct 23, 2014, at 7:59 PM, David Burken <[hidden email]> wrote:
>
> Hi Massimo,
>
> Sorry for the late response.  I don't see any loadState or anything in
> the factories to support initialization.  So it looks like the
> projection is there but it's never been exercised.  So we'd have to add
> some code to handle.  Not sure when I could get to it?  If you can add I
> can put it in...
>
> Take care,
> Dave
>
> On 10/21/2014 03:09 AM, epi wrote:
>> Hi,
>>
>> I’m tring to read a netcdf file into OSSIM, but unfortunately my file doesn’t have proper georeferenced metadata, the results of ncdump shows the following info :
>>
>>
>> int grid_mapping ;
>> grid_mapping:grid_mapping_name = "polar_stereographic" ;
>> grid_mapping:long_name = "grid mapping" ;
>> grid_mapping:scale_factor_at_projection_origin = 0.933012701892219 ;
>> grid_mapping:straight_vertical_longitude_from_pole = 58. ;
>> grid_mapping:standard_parallel = 60. ;
>> grid_mapping:latitude_of_projection_origin = 90. ;
>> grid_mapping:false_easting = 2548000. ;
>> grid_mapping:false_northing = 3988000. ;
>> grid_mapping:semi_major_axis = 6371000. ;
>> grid_mapping:semi_minor_axis = 6371000. ;
>> grid_mapping:earth_radius = 6371000. ;
>> grid_mapping:ellipsoid = "sphere" ;
>> grid_mapping:dx = 4000. ;
>> grid_mapping:proj4string = "+proj=stere +R=6371000.0 +a=6371000 +b=6371000 +lat_0=90 +lat_ts=60 +lon_0=58 +x_0=3988000 +y_0=2548000" ;
>>
>>
>> Can you help me in creating a proper .geom file from this ?
>>
>> attached at this link [ 1 ] there is the original netcdf
>>
>> [ 1 ]  http://epinux.com/shared/Mean_2009_2011.nc
>>
>> Thanks!
>>
>> epi.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://p.sf.net/sfu/Zoho
>> _______________________________________________
>> www.ossim.org
>> Ossim-developer mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/ossim-developer
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> www.ossim.org
> Ossim-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer