NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] cordex rotatedpole help

very welcome.

the ncml, if you arent familiar with it, is a way to quickly try changes to
the metadata.

BTW, grid_north_pole_longitude = 180.0 may be a mathematically degenerate
case, giving spurious results. something to look at closer. perhaps Martin
knows?

On Thu, Jun 30, 2022 at 6:41 AM andrea antonello <andrea.antonello@xxxxxxxxx>
wrote:

>
>> looks like another mistake encoding the projection parameters
>>
>> this ncml (grid_north_pole_longitude =0.0 not 180
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";
>>
>> location="02_tas_AFR-22_CCCma-CanESM2_rcp85_r1i1p1_CCCma-CanRCM4_r2_day_20510101-20551231.nc">
>>
>> <variable name="rotated_pole" shape="" type="char">
>>   <attribute name="grid_mapping_name" value="rotated_latitude_longitude"
>> />
>>   <attribute name="grid_north_pole_longitude" type="float" value="0.0" />
>>   <attribute name="grid_north_pole_latitude" type="float" value="90.0" />
>> </variable>
>>
>> </netcdf>
>>
>> gives the attached picture
>>
>
> You are definitely right. I missed the knowledge to see that, thank you.
> So in the end every single issue was a data encoding issue. Guess one
> needs to get an eye to spot these things.
>
> Thank you very much for the help John.
>
> Regards,
> Andrea
>
>
>
>>
>> On Wed, Jun 29, 2022 at 6:15 AM andrea antonello <
>> andrea.antonello@xxxxxxxxx> wrote:
>>
>>> Hello Martin,
>>>
>>>>
>>>> Do you have a MD5 sum or SHA1 sum for the "03_tas_EUR-(…snip…).nc" file
>>>> on https://we.tl/t-ui4CZmQ0pS ? I tried to download the file twice,
>>>> but
>>>> when I try to read it using UCAR library 5.5.3 I got a
>>>> "java.util.zip.ZipException: incorrect data check" error (it seems to
>>>> come from JDK itself, not from UCAR).
>>>>
>>>
>>> I do not have any checksum, I also got the data sent to.
>>> This is the md5 sum created with md5sum linux
>>> command: e1e7c285593e0861fd8bbc5cc00672bf
>>>
>>> I tried to download it again and analyze it with the 5.5.3 libraries and
>>> it works without issues.
>>>
>>> Thanks,
>>> Andrea
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>>>      Martin
>>>>
>>>>
>>>> _______________________________________________
>>>> NOTE: All exchanges posted to Unidata maintained email lists are
>>>> recorded in the Unidata inquiry tracking system and made publicly
>>>> available through the web.  Users who post to any of the lists we
>>>> maintain are reminded to remove any personal information that they
>>>> do not want to be made public.
>>>>
>>>>
>>>> netcdf-java mailing list
>>>> netcdf-java@xxxxxxxxxxxxxxxx
>>>> For list information or to unsubscribe, visit:
>>>> https://www.unidata.ucar.edu/mailing_lists/
>>>>
>>> _______________________________________________
>>> NOTE: All exchanges posted to Unidata maintained email lists are
>>> recorded in the Unidata inquiry tracking system and made publicly
>>> available through the web.  Users who post to any of the lists we
>>> maintain are reminded to remove any personal information that they
>>> do not want to be made public.
>>>
>>>
>>> netcdf-java mailing list
>>> netcdf-java@xxxxxxxxxxxxxxxx
>>> For list information or to unsubscribe, visit:
>>> https://www.unidata.ucar.edu/mailing_lists/
>>>
>> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> https://www.unidata.ucar.edu/mailing_lists/
>
  • 2022 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: