Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-29 Thread Saber Razmjooei
Hi Lee,

I had the same issue:
https://github.com/lutraconsulting/MDAL/issues/66

Could you open a ticket for GFS and an example file?

Regards
Saber




On Sat, 29 Dec 2018, 00:16 Lee Eddington  Coming back to this…I did some reading on MDAL and tried the instructions
> found at:
>
> https://www.lutraconsulting.co.uk/blog/2018/10/18/mdal/
>
> trying to load the GFS dataset as a mesh instead of a raster, but I get
> the following error message:
>
> Tools::BufferedFileWriter::open: Cannot open file.: unspecified
> upstream_category error
>
> I also tried loading the ECMWF_ERA-40_subset.nc dataset linked to the blog
> post and get an error message saying it is an invalid data source.
>
> I’m using QGIS version 3.4.1-Madeira on MacOSX 10.14.2
>
> Lee
>
>
>
> On Dec 21, 2018, at 2:46 PM, Lee Eddington 
> wrote:
>
> As a raster.
>
> Sent from my iPhone
>
> On Dec 21, 2018, at 12:09 AM, Saber Razmjooei <
> saber.razmjo...@lutraconsulting.co.uk> wrote:
>
> Did you open your layer as Mesh layer or Raster?
>
> Cheers
> Saber
>
> On Fri, 21 Dec 2018 at 05:59, Lee Eddington 
> wrote:
>
>> That worked.
>>
>> Thanks,
>> Lee
>>
>>
>> On Dec 20, 2018, at 6:06 AM, Saber Razmjooei <
>> saber.razmjo...@lutraconsulting.co.uk> wrote:
>>
>> Climate Data Operator (CDO):
>> https://code.mpimet.mpg.de/projects/cdo/
>>
>> cdo sellonlatbox,-180,180,-90,90 input.grib output.grib
>>
>> Regards
>> Saber
>>
>> On Thu, 20 Dec 2018 at 13:00, Lee Eddington 
>> wrote:
>>
>>> Can you point me to the external tools?
>>>
>>> Thanks,
>>> Lee
>>>
>>>
>>> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei <
>>> saber.razmjo...@lutraconsulting.co.uk> wrote:
>>>
>>> This is a known issue and can be fixed with some external tools.
>>> I have filed a bug:
>>> https://issues.qgis.org/issues/20853
>>> And hopefully get around to fix it in 3.6
>>>
>>> Regards
>>> Saber
>>>
>>> On Thu, 20 Dec 2018 at 01:44, Lee Eddington 
>>> wrote:
>>>
 I’m pretty new to QGIS and am trying to figure out how to modify
 longitude values of layers.  I was able to add a raster layer in GRIB2
 format (NCEP global meteorological data).  The longitude values range from
 0 to 360 degrees.  I’m able to view and do calculations on the data with no
 problem.  I also added shaded relief and coastline data from Natural
 Earth.  This data has longitude values from -180 to 180 degrees.  So from
 -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
 I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
 I want both datasets to be referenced the same with regards to longitude
 (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
 easy problem to fix by either adding 180 degrees to longitudes from the
 Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
 can’t figure out how to do it.

 I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what
 QGIS put the GRIB2 data into when I added it:   * Generated CRS
 (+proj=longlat +a=6371229 +b=6371229 +no_defs)

 Thanks,
 Lee

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
 Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>>
>>> --
>>> Saber Razmjooei
>>> www.lutraconsulting.co.uk
>>> +44 (0)7568 129733
>>>
>>>
>>>
>>
>> --
>> Saber Razmjooei
>> www.lutraconsulting.co.uk
>> +44 (0)7568 129733
>>
>>
>>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-28 Thread Lee Eddington
Coming back to this…I did some reading on MDAL and tried the instructions found 
at:

https://www.lutraconsulting.co.uk/blog/2018/10/18/mdal/ 


trying to load the GFS dataset as a mesh instead of a raster, but I get the 
following error message:

Tools::BufferedFileWriter::open: Cannot open file.: unspecified 
upstream_category error

I also tried loading the ECMWF_ERA-40_subset.nc dataset linked to the blog post 
and get an error message saying it is an invalid data source.

I’m using QGIS version 3.4.1-Madeira on MacOSX 10.14.2

Lee



> On Dec 21, 2018, at 2:46 PM, Lee Eddington  wrote:
> 
> As a raster.
> 
> Sent from my iPhone
> 
> On Dec 21, 2018, at 12:09 AM, Saber Razmjooei 
>  > wrote:
> 
>> Did you open your layer as Mesh layer or Raster?
>> 
>> Cheers
>> Saber
>> 
>> On Fri, 21 Dec 2018 at 05:59, Lee Eddington > > wrote:
>> That worked.
>> 
>> Thanks,
>> Lee
>> 
>> 
>>> On Dec 20, 2018, at 6:06 AM, Saber Razmjooei 
>>> >> > wrote:
>>> 
>>> Climate Data Operator (CDO):
>>> https://code.mpimet.mpg.de/projects/cdo/ 
>>> 
>>> 
>>> cdo sellonlatbox,-180,180,-90,90 input.grib output.grib
>>> 
>>> Regards
>>> Saber
>>> 
>>> On Thu, 20 Dec 2018 at 13:00, Lee Eddington >> > wrote:
>>> Can you point me to the external tools?
>>> 
>>> Thanks,
>>> Lee
>>> 
>>> 
 On Dec 20, 2018, at 12:46 AM, Saber Razmjooei 
 >>> > wrote:
 
 This is a known issue and can be fixed with some external tools. 
 I have filed a bug:
 https://issues.qgis.org/issues/20853 
 And hopefully get around to fix it in 3.6
 
 Regards
 Saber
 
 On Thu, 20 Dec 2018 at 01:44, Lee Eddington >>> > wrote:
 I’m pretty new to QGIS and am trying to figure out how to modify longitude 
 values of layers.  I was able to add a raster layer in GRIB2 format (NCEP 
 global meteorological data).  The longitude values range from 0 to 360 
 degrees.  I’m able to view and do calculations on the data with no 
 problem.  I also added shaded relief and coastline data from Natural 
 Earth.  This data has longitude values from -180 to 180 degrees.  So from 
 -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees 
 I see both datasets and from 180 to 360 degrees I only see the GRIB2 data. 
  I want both datasets to be referenced the same with regards to longitude 
 (-180 to 180, 0 to 360 or whatever).  It seems like this should be a 
 fairly easy problem to fix by either adding 180 degrees to longitudes from 
 the Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I 
 can’t figure out how to do it.
 
 I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS 
 put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat 
 +a=6371229 +b=6371229 +no_defs)
 
 Thanks,
 Lee
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org 
 List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
 
 Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
 
 
 -- 
 Saber Razmjooei
 www.lutraconsulting.co.uk 
 +44 (0)7568 129733
>>> 
>>> 
>>> 
>>> -- 
>>> Saber Razmjooei
>>> www.lutraconsulting.co.uk 
>>> +44 (0)7568 129733
>> 
>> 
>> 
>> -- 
>> Saber Razmjooei
>> www.lutraconsulting.co.uk 
>> +44 (0)7568 129733

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-21 Thread Lee Eddington
As a raster.

Sent from my iPhone

> On Dec 21, 2018, at 12:09 AM, Saber Razmjooei 
>  wrote:
> 
> Did you open your layer as Mesh layer or Raster?
> 
> Cheers
> Saber
> 
>> On Fri, 21 Dec 2018 at 05:59, Lee Eddington  
>> wrote:
>> That worked.
>> 
>> Thanks,
>> Lee
>> 
>> 
>>> On Dec 20, 2018, at 6:06 AM, Saber Razmjooei 
>>>  wrote:
>>> 
>>> Climate Data Operator (CDO):
>>> https://code.mpimet.mpg.de/projects/cdo/
>>> 
>>> cdo sellonlatbox,-180,180,-90,90 input.grib output.grib
>>> 
>>> Regards
>>> Saber
>>> 
 On Thu, 20 Dec 2018 at 13:00, Lee Eddington  
 wrote:
 Can you point me to the external tools?
 
 Thanks,
 Lee
 
 
> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei 
>  wrote:
> 
> This is a known issue and can be fixed with some external tools. 
> I have filed a bug:
> https://issues.qgis.org/issues/20853
> And hopefully get around to fix it in 3.6
> 
> Regards
> Saber
> 
>> On Thu, 20 Dec 2018 at 01:44, Lee Eddington  
>> wrote:
>> I’m pretty new to QGIS and am trying to figure out how to modify 
>> longitude values of layers.  I was able to add a raster layer in GRIB2 
>> format (NCEP global meteorological data).  The longitude values range 
>> from 0 to 360 degrees.  I’m able to view and do calculations on the data 
>> with no problem.  I also added shaded relief and coastline data from 
>> Natural Earth.  This data has longitude values from -180 to 180 degrees. 
>>  So from -180 to 0 degrees I only see the Natural Earth data, from 0 to 
>> 180 degrees I see both datasets and from 180 to 360 degrees I only see 
>> the GRIB2 data.  I want both datasets to be referenced the same with 
>> regards to longitude (-180 to 180, 0 to 360 or whatever).  It seems like 
>> this should be a fairly easy problem to fix by either adding 180 degrees 
>> to longitudes from the Natural Earth data or subtracting 180 from the 
>> GRIB2 longitudes, but I can’t figure out how to do it.
>> 
>> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what 
>> QGIS put the GRIB2 data into when I added it:   * Generated CRS 
>> (+proj=longlat +a=6371229 +b=6371229 +no_defs)
>> 
>> Thanks,
>> Lee
>> 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
 
>>> 
>>> 
>>> -- 
>>> Saber Razmjooei
>>> www.lutraconsulting.co.uk
>>> +44 (0)7568 129733
>> 
> 
> 
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-20 Thread Saber Razmjooei
Did you open your layer as Mesh layer or Raster?

Cheers
Saber

On Fri, 21 Dec 2018 at 05:59, Lee Eddington 
wrote:

> That worked.
>
> Thanks,
> Lee
>
>
> On Dec 20, 2018, at 6:06 AM, Saber Razmjooei <
> saber.razmjo...@lutraconsulting.co.uk> wrote:
>
> Climate Data Operator (CDO):
> https://code.mpimet.mpg.de/projects/cdo/
>
> cdo sellonlatbox,-180,180,-90,90 input.grib output.grib
>
> Regards
> Saber
>
> On Thu, 20 Dec 2018 at 13:00, Lee Eddington 
> wrote:
>
>> Can you point me to the external tools?
>>
>> Thanks,
>> Lee
>>
>>
>> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei <
>> saber.razmjo...@lutraconsulting.co.uk> wrote:
>>
>> This is a known issue and can be fixed with some external tools.
>> I have filed a bug:
>> https://issues.qgis.org/issues/20853
>> And hopefully get around to fix it in 3.6
>>
>> Regards
>> Saber
>>
>> On Thu, 20 Dec 2018 at 01:44, Lee Eddington 
>> wrote:
>>
>>> I’m pretty new to QGIS and am trying to figure out how to modify
>>> longitude values of layers.  I was able to add a raster layer in GRIB2
>>> format (NCEP global meteorological data).  The longitude values range from
>>> 0 to 360 degrees.  I’m able to view and do calculations on the data with no
>>> problem.  I also added shaded relief and coastline data from Natural
>>> Earth.  This data has longitude values from -180 to 180 degrees.  So from
>>> -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
>>> I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
>>> I want both datasets to be referenced the same with regards to longitude
>>> (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
>>> easy problem to fix by either adding 180 degrees to longitudes from the
>>> Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
>>> can’t figure out how to do it.
>>>
>>> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what
>>> QGIS put the GRIB2 data into when I added it:   * Generated CRS
>>> (+proj=longlat +a=6371229 +b=6371229 +no_defs)
>>>
>>> Thanks,
>>> Lee
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>> --
>> Saber Razmjooei
>> www.lutraconsulting.co.uk
>> +44 (0)7568 129733
>>
>>
>>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
>
>
>

-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-20 Thread Lee Eddington
That worked.

Thanks,
Lee


> On Dec 20, 2018, at 6:06 AM, Saber Razmjooei 
>  wrote:
> 
> Climate Data Operator (CDO):
> https://code.mpimet.mpg.de/projects/cdo/ 
> 
> 
> cdo sellonlatbox,-180,180,-90,90 input.grib output.grib
> 
> Regards
> Saber
> 
> On Thu, 20 Dec 2018 at 13:00, Lee Eddington  > wrote:
> Can you point me to the external tools?
> 
> Thanks,
> Lee
> 
> 
>> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei 
>> > > wrote:
>> 
>> This is a known issue and can be fixed with some external tools. 
>> I have filed a bug:
>> https://issues.qgis.org/issues/20853 
>> And hopefully get around to fix it in 3.6
>> 
>> Regards
>> Saber
>> 
>> On Thu, 20 Dec 2018 at 01:44, Lee Eddington > > wrote:
>> I’m pretty new to QGIS and am trying to figure out how to modify longitude 
>> values of layers.  I was able to add a raster layer in GRIB2 format (NCEP 
>> global meteorological data).  The longitude values range from 0 to 360 
>> degrees.  I’m able to view and do calculations on the data with no problem.  
>> I also added shaded relief and coastline data from Natural Earth.  This data 
>> has longitude values from -180 to 180 degrees.  So from -180 to 0 degrees I 
>> only see the Natural Earth data, from 0 to 180 degrees I see both datasets 
>> and from 180 to 360 degrees I only see the GRIB2 data.  I want both datasets 
>> to be referenced the same with regards to longitude (-180 to 180, 0 to 360 
>> or whatever).  It seems like this should be a fairly easy problem to fix by 
>> either adding 180 degrees to longitudes from the Natural Earth data or 
>> subtracting 180 from the GRIB2 longitudes, but I can’t figure out how to do 
>> it.
>> 
>> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS 
>> put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat 
>> +a=6371229 +b=6371229 +no_defs)
>> 
>> Thanks,
>> Lee
>> 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org 
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
>> 
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
>> 
>> 
>> -- 
>> Saber Razmjooei
>> www.lutraconsulting.co.uk 
>> +44 (0)7568 129733
> 
> 
> 
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk 
> +44 (0)7568 129733

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-20 Thread Saber Razmjooei
Climate Data Operator (CDO):
https://code.mpimet.mpg.de/projects/cdo/

cdo sellonlatbox,-180,180,-90,90 input.grib output.grib

Regards
Saber

On Thu, 20 Dec 2018 at 13:00, Lee Eddington 
wrote:

> Can you point me to the external tools?
>
> Thanks,
> Lee
>
>
> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei <
> saber.razmjo...@lutraconsulting.co.uk> wrote:
>
> This is a known issue and can be fixed with some external tools.
> I have filed a bug:
> https://issues.qgis.org/issues/20853
> And hopefully get around to fix it in 3.6
>
> Regards
> Saber
>
> On Thu, 20 Dec 2018 at 01:44, Lee Eddington 
> wrote:
>
>> I’m pretty new to QGIS and am trying to figure out how to modify
>> longitude values of layers.  I was able to add a raster layer in GRIB2
>> format (NCEP global meteorological data).  The longitude values range from
>> 0 to 360 degrees.  I’m able to view and do calculations on the data with no
>> problem.  I also added shaded relief and coastline data from Natural
>> Earth.  This data has longitude values from -180 to 180 degrees.  So from
>> -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
>> I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
>> I want both datasets to be referenced the same with regards to longitude
>> (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
>> easy problem to fix by either adding 180 degrees to longitudes from the
>> Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
>> can’t figure out how to do it.
>>
>> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what
>> QGIS put the GRIB2 data into when I added it:   * Generated CRS
>> (+proj=longlat +a=6371229 +b=6371229 +no_defs)
>>
>> Thanks,
>> Lee
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
>
>
>

-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-20 Thread Lee Eddington
Can you point me to the external tools?

Thanks,
Lee


> On Dec 20, 2018, at 12:46 AM, Saber Razmjooei 
>  wrote:
> 
> This is a known issue and can be fixed with some external tools. 
> I have filed a bug:
> https://issues.qgis.org/issues/20853 
> And hopefully get around to fix it in 3.6
> 
> Regards
> Saber
> 
> On Thu, 20 Dec 2018 at 01:44, Lee Eddington  > wrote:
> I’m pretty new to QGIS and am trying to figure out how to modify longitude 
> values of layers.  I was able to add a raster layer in GRIB2 format (NCEP 
> global meteorological data).  The longitude values range from 0 to 360 
> degrees.  I’m able to view and do calculations on the data with no problem.  
> I also added shaded relief and coastline data from Natural Earth.  This data 
> has longitude values from -180 to 180 degrees.  So from -180 to 0 degrees I 
> only see the Natural Earth data, from 0 to 180 degrees I see both datasets 
> and from 180 to 360 degrees I only see the GRIB2 data.  I want both datasets 
> to be referenced the same with regards to longitude (-180 to 180, 0 to 360 or 
> whatever).  It seems like this should be a fairly easy problem to fix by 
> either adding 180 degrees to longitudes from the Natural Earth data or 
> subtracting 180 from the GRIB2 longitudes, but I can’t figure out how to do 
> it.
> 
> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS 
> put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat 
> +a=6371229 +b=6371229 +no_defs)
> 
> Thanks,
> Lee
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
> 
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk 
> +44 (0)7568 129733

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] how to properly reference longitude values in different datasets

2018-12-19 Thread Saber Razmjooei
This is a known issue and can be fixed with some external tools.
I have filed a bug:
https://issues.qgis.org/issues/20853
And hopefully get around to fix it in 3.6

Regards
Saber

On Thu, 20 Dec 2018 at 01:44, Lee Eddington 
wrote:

> I’m pretty new to QGIS and am trying to figure out how to modify longitude
> values of layers.  I was able to add a raster layer in GRIB2 format (NCEP
> global meteorological data).  The longitude values range from 0 to 360
> degrees.  I’m able to view and do calculations on the data with no
> problem.  I also added shaded relief and coastline data from Natural
> Earth.  This data has longitude values from -180 to 180 degrees.  So from
> -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
> I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
> I want both datasets to be referenced the same with regards to longitude
> (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
> easy problem to fix by either adding 180 degrees to longitudes from the
> Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
> can’t figure out how to do it.
>
> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS
> put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat
> +a=6371229 +b=6371229 +no_defs)
>
> Thanks,
> Lee
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] how to properly reference longitude values in different datasets

2018-12-19 Thread Lee Eddington
I’m pretty new to QGIS and am trying to figure out how to modify longitude 
values of layers.  I was able to add a raster layer in GRIB2 format (NCEP 
global meteorological data).  The longitude values range from 0 to 360 degrees. 
 I’m able to view and do calculations on the data with no problem.  I also 
added shaded relief and coastline data from Natural Earth.  This data has 
longitude values from -180 to 180 degrees.  So from -180 to 0 degrees I only 
see the Natural Earth data, from 0 to 180 degrees I see both datasets and from 
180 to 360 degrees I only see the GRIB2 data.  I want both datasets to be 
referenced the same with regards to longitude (-180 to 180, 0 to 360 or 
whatever).  It seems like this should be a fairly easy problem to fix by either 
adding 180 degrees to longitudes from the Natural Earth data or subtracting 180 
from the GRIB2 longitudes, but I can’t figure out how to do it.

I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS put 
the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat 
+a=6371229 +b=6371229 +no_defs)

Thanks,
Lee

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user