[Thread Prev][Thread Next][Index]

Re: [las_users] Error when applying the region time for any analysis.



Hello Roland, thank you for the reply.

I been reading the documentation article "Using F-TDS and the
server-side analysis", and i think is not a F-TDS bug, because I tried
this:

This is the URL that ferret can't load because of the "malformed DAP
DDS" error:

http://my.server:8080/thredds/dodsC/las/id-ceed121995/data_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19800129_19840722.nc.jnl_expr_{}{letdeq1 Evaporation_1_transformed=Evaporation[d=1,t="29-Jan-1980 06:00:00":"26-Aug-1981 00:00:00"@Average]_cr_ATTRCMD Evaporation Evaporation_1_transformed}

I added  ".asc?Evaporation_1_transformed" to the end of the URL, so I
can get the result in ascii, and in specific the dynamic variable
"Evaporation_1_transformed":

http://my.server:8080/thredds/dodsC/las/id-ceed121995/data_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19800129_19840722.nc.jnl_expr_{}{letdeq1 Evaporation_1_transformed=Evaporation[d=1,t="29-Jan-1980 06:00:00":"26-Aug-1981 00:00:00"@Average]_cr_ATTRCMD Evaporation Evaporation_1_transformed}.asc?Evaporation_1_transformed

So I paste it to the browser, and i get a ascii result correctly:


> Dataset {
>     Grid {
>      ARRAY:
>         Float32 Evaporation_1_transformed[LAT = 29][LON = 42];
>      MAPS:
>         Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42];
>     } Evaporation_1_transformed;
> } las%2fid-ceed121995%2fdata_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19800129_19840722%2enc%2ejnl_expr_%7b%7d%7bletdeq1%20Evaporation_1_transformed%3dEvaporation%5bd%3d1%2ct%3d"29-Jan-1980%2006%3a00%3a00"%3a"26-Aug-1981%2000%3a00%3a00"%40Average%5d_cr_ATTRCMD%20Evaporation%20Evaporation_1_transformed%7d;
> ---------------------------------------------
> Evaporation_1_transformed.Evaporation_1_transformed[29][42]
> [0], -0.0010194866, -0.0010081746, -0.0010259094, -0.0010286081, -0.0010543758, -0.0010361673, -9.9839E-4, -9.5465174E-4, -9.163565E-4, -8.986644E-4, -8.8725E-4, -8.8800315E-4, -8.6386263E-4, -8.41472E-4, -8.1212155E-4, -7.8981294E-4, -7.6166284E-4, -7.357301E-4, -6.7309925E-4, -6.530441E-4, -2.9857914E-4, -5.0813536E-4, -5.3965906E-4, -6.401888E-4, -6.8173354E-4, -7.460264E-4, -8.1377965E-4, -7.895649E-4, -7.1687467E-4, -6.246917E-4, -6.507049E-4, -7.150646E-4, -7.9043786E-4, -8.1650435E-4, -7.135371E-4, -5.717132E-4, -6.54501E-4, -7.654093E-4, -8.39709E-4, -8.8212866E-4, -8.6746895E-4, -8.6300296E-4
> [1], -0.0010307, -0.0010160658, -0.001034569, -0.0010421608, -0.0010382083, -0.0010155818, -9.783361E-4, -9.431056E-4, -9.057951E-4, -8.769852E-4, -8.556653E-4, -8.356831E-4, -8.1906444E-4, -7.997302E-4, -7.849638E-4, -7.7133474E-4, -7.96915E-4, -8.159993E-4, -7.40997E-4, -6.389214E-4, -3.1929137E-4, -4.764378E-4, -5.266894E-4, -6.1185675E-4, -7.0160796E-4, -7.4484706E-4, -7.428327E-4, -7.3709554E-4, -6.954484E-4, -6.362877E-4, -6.513581E-4, -7.030849E-4, -7.751474E-4, -7.922793E-4, -7.514323E-4, -7.6761347E-4, -8.605021E-4, -8.992902E-4, -9.4996375E-4, -8.928064E-4, -8.8882365E-4, -8.895676E-4
> [2], -0.0010424185, -0.0010467545, -0.0010569091, -0.001061601, -0.0010421919, -0.0010108213, -9.806552E-4, -9.455538E-4, -9.079819E-4, -8.556638E-4, -8.221679E-4, -7.7907357E-4, -7.6919835E-4, -7.431586E-4, -7.50312E-4, -7.434253E-4, -7.409213E-4, -7.4863445E-4, -7.893098E-4, -6.125298E-4, -3.6571512E-4, -5.1199226E-4, -5.593758E-4, -6.260237E-4, -6.802045E-4, -7.468058E-4, -7.2251866E-4, -6.854785E-4, -6.709434E-4, -6.5127166E-4, -7.0058694E-4, -7.5143296E-4, -8.0333307E-4, -8.1543426E-4, -8.322043E-4, -8.7276025E-4, -9.715919E-4, -8.912747E-4, -9.85513E-4, -9.642386E-4, -0.0010345503, -0.0010439535
> [3]
> 
 
Ferret is the one that is giving this error, when i try to load the URL with the ".dods" instead of ".asc" suffix: 

> **Internet Data error
>              NetCDF: Malformed or inaccessible DAP DDS (OPeNDAP/netCDF Error code -72)


Could be ferret the one with the bug?.. Maybe this can help to solve
this problem.


Regards
FavioMJ.


On Wed, 2012-06-06 at 07:36 -0500, Roland Schweitzer wrote:
> Favio,
> 
> 
> Sorry to be so long in getting back to you.
> 
> 
> I believe that the problem you are facing is a bug in the F-TDS
> software that does the averaging.  The rules about stuffing the
> complicated expressions that describe the average into the URL are
> difficult to get right.  If the error you are seeing is what I think
> we have it fixed in the next release. 
> 
> 
> 
> Roland
> 
> 
> 
> 
> On Thu, May 31, 2012 at 6:44 PM, Favio Medrano <hmedrano@xxxxxxxxx>
> wrote:
>         Hello LAS Team
>         
>         The issue that i found is when i try to apply a time region
>         analysis to
>         any of my datasets.
>         
>         It does work ok when doing any average,max,min in a region for
>         area,
>         longitude or latitude, but it gives me an error when trying to
>         do a time
>         region analysis.
>         
>         The error message is this:
>         
>         
>         > syntax error, unexpected SCAN_WORD, expecting ';'
>         > context: Dataset { Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; String latLonCoordSys;
>         Grid { ARRAY: Float32 Boundary_layer_height[TIME = 6548][LAT =
>         29][LON = 42]; MAPS: Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; } Boundary_layer_height;
>         Grid { ARRAY: Float32 Convective_precipitation[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Convective_precipitation; Grid { ARRAY: Float32
>         East-West_surface_stress[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } East-West_surface_stress; Grid
>         { ARRAY: Float32 Evaporation[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Evaporation; Grid { ARRAY: Float32
>         N10_metre_wind_gust[TIME = 6548][LAT = 29][LON = 42]; MAPS:
>         Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29]; Float64
>         LON[LON = 42!
>          ]; } N10_metre_wind_gust; Grid { ARRAY: Float32
>         North-South_surface_stress[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } North-South_surface_stress; Grid
>         { ARRAY: Float32
>         Stratiform_precipitation_Large-scale_precipitation[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Stratiform_precipitation_Large-scale_precipitation; Grid
>         { ARRAY: Float32 Surface_latent_heat_flux[TIME = 6548][LAT =
>         29][LON = 42]; MAPS: Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Surface_latent_heat_flux; Grid { ARRAY: Float32
>         Surface_sensible_heat_flux[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Surface_sensible_heat_flux; Grid
>         { ARRAY: Float32 Surface_solar_radiation_downwards[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Floa!
>          t64 LON[LON = 42]; } Surface_solar_radiation_downwards; Grid
>         {!
>          ARRAY: Float32 Surface_thermal_radiation_downwards[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Surface_thermal_radiation_downwards; Grid { ARRAY: Float32
>         Surface_thermal_radiation[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Surface_thermal_radiation; Grid
>         { ARRAY: Float32 Surface_latent_heat_flux_1_transformed[LAT =
>         29][LON = 42]; MAPS: Float64 LAT[LAT = 29]; Float64 LON[LON =
>         42]; } Surface_latent_heat_flux_1_transformed;} las%
>         2fid-b35314a1d9%
>         2fdata_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19620224_19660818%2enc%2ejnl_expr_%7b%7d%7bletdeq1%2bSurface_latent_heat_flux_1_transformed%3dSurface_latent_heat_flux%5bd%3d1%2ct%3d"24-Feb-1962%2b06%3a00%3a00"^%3a"19-Aug-1962%2b00%3a00%3a00"%40Average%5d_cr_ATTRCMD%2bSurface_latent_heat_flux%2bSurface_latent_heat_flux_1_transformed%7d;
>         > Illegal dataset declaration
>         > context: Dataset { Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; String latLonCoordSys;
>         Grid { ARRAY: Float32 Boundary_layer_height[TIME = 6548][LAT =
>         29][LON = 42]; MAPS: Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; } Boundary_layer_height;
>         Grid { ARRAY: Float32 Convective_precipitation[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Convective_precipitation; Grid { ARRAY: Float32
>         East-West_surface_stress[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } East-West_surface_stress; Grid
>         { ARRAY: Float32 Evaporation[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Evaporation; Grid { ARRAY: Float32
>         N10_metre_wind_gust[TIME = 6548][LAT = 29][LON = 42]; MAPS:
>         Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29]; Float64
>         LON[LON = 42!
>          ]; } N10_metre_wind_gust; Grid { ARRAY: Float32
>         North-South_surface_stress[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } North-South_surface_stress; Grid
>         { ARRAY: Float32
>         Stratiform_precipitation_Large-scale_precipitation[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Stratiform_precipitation_Large-scale_precipitation; Grid
>         { ARRAY: Float32 Surface_latent_heat_flux[TIME = 6548][LAT =
>         29][LON = 42]; MAPS: Float64 TIME[TIME = 6548]; Float64
>         LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Surface_latent_heat_flux; Grid { ARRAY: Float32
>         Surface_sensible_heat_flux[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Surface_sensible_heat_flux; Grid
>         { ARRAY: Float32 Surface_solar_radiation_downwards[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Floa!
>          t64 LON[LON = 42]; } Surface_solar_radiation_downwards; Grid
>         {!
>          ARRAY: Float32 Surface_thermal_radiation_downwards[TIME =
>         6548][LAT = 29][LON = 42]; MAPS: Float64 TIME[TIME = 6548];
>         Float64 LAT[LAT = 29]; Float64 LON[LON = 42]; }
>         Surface_thermal_radiation_downwards; Grid { ARRAY: Float32
>         Surface_thermal_radiation[TIME = 6548][LAT = 29][LON = 42];
>         MAPS: Float64 TIME[TIME = 6548]; Float64 LAT[LAT = 29];
>         Float64 LON[LON = 42]; } Surface_thermal_radiation; Grid
>         { ARRAY: Float32 Surface_latent_heat_flux_1_transformed[LAT =
>         29][LON = 42]; MAPS: Float64 LAT[LAT = 29]; Float64 LON[LON =
>         42]; } Surface_latent_heat_flux_1_transformed;} las%
>         2fid-b35314a1d9%
>         2fdata_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19620224_19660818%2enc%2ejnl_expr_%7b%7d%7bletdeq1%2bSurface_latent_heat_flux_1_transformed%3dSurface_latent_heat_flux%5bd%3d1%2ct%3d"24-Feb-1962%2b06%3a00%3a00"^%3a"19-Aug-1962%2b00%3a00%3a00"%40Average%5d_cr_ATTRCMD%2bSurface_latent_heat_flux%2bSurface_latent_heat_flux_1_transformed%7d;
>         >  **Internet Data error
>         >              NetCDF: Malformed or inaccessible DAP DDS
>         (OPeNDAP/netCDF Error code -72)
>         >              Data set:
>         http://my.server:8080/thredds/dodsC/las/id-b35314a1d9/data_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19620224_19660818.nc.jnl_expr_%7B%7D%7Bletdeq1+Surface_latent_heat_flux_1_transformed%3DSurface_latent_heat_flux%5Bd%3D1%2Ct%3D%2224-Feb-1962+06%3A00%3A00%22%3A%2219-Aug-1962+00%3A00%3A00%22%40Average%5D_cr_ATTRCMD+Surface_latent_heat_flux+Surface_latent_heat_flux_1_transformed%7D
>         > SET DATA
>         "http://my.server:8080/thredds/dodsC/las/id-b35314a1d9/data_datos_NETCDF_DATA_MODELOS_ECMWF_ATMOS_DATA_e4_oper_fc_sfc_36N100125W45N54W_1125x1125_19620224_19660818.nc.jnl_expr_%7B%7D%7Bletdeq1+Surface_latent_heat_flux_1_transformed%3DSurface_latent_heat_flux%5Bd%3D1%2Ct%3D%2224-Feb-1962+06%3A00%3A00%22%3A%2219-Aug-1962+00%3A00%3A00%22%40Average%5D_cr_ATTRCMD+Surface_latent_heat_flux+Surface_latent_heat_flux_1_transformed%7D";
>         > Command file, command group, or REPEAT execution aborted
>         > ERROR RUNNING SCRIPT
>         
>         My current installation is:
>         LAS version 7.3
>         Ferret 6.72
>         Thredds 4.2.8
>         Tomcat 7.0.21
>         
>         A malformed DAP DDS. Maybe a problem between versions?
>         
>         Thank's for the help
>         
>         Regards
>         FavioMJ
>         
>         
>         
>         
> 
> 



[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement